fix frontend bug

This commit is contained in:
jaehwang committed 2026-09-08 15:57:35 +09:00
1 parent a18f7a5c8b
commit 9bb46f7004
10 files changed
+83 -21

No files matched your search

+3 -2
View File
@@ -242,8 +242,9 @@ async def run_compose(session: AsyncSession, task: PlayreelTask) -> None:
compose_longcut, poster, clip, timeline, narration, sections, band_info(meta),
bgm_mp3=bgm, qr=Image.open(qr_path) if qr_path.exists() else None)
task.video_url = await store_bytes(PIPELINE, task.id,
f"longcut_v{task.version + 1}.mp4", result.video)
filename = f"{task.slug}_30_v{task.version + 1}.mp4"
task.video_url = await store_bytes(PIPELINE, task.id, filename, result.video,
download_as=filename)
task.scene_plan = result.plan.model_dump()
task.video_duration = result.duration
task.video_frames = result.frames