add archive
This commit is contained in:
1 parent
2c13e75a92
commit
7a667d8a5f
5 files changed
+119
-12
No files matched your search
@@ -240,7 +240,7 @@ async def run_compose(session: AsyncSession, task: PlayreelTask) -> None:
|
||||
|
||||
result = await asyncio.to_thread(
|
||||
compose_longcut, poster, clip, timeline, narration, sections, band_info(meta),
|
||||
bgm_mp3=bgm, qr=Image.open(qr_path) if qr_path.exists() else None)
|
||||
bgm_mp3=bgm, qr=Image.open(qr_path) if qr_path.exists() else None, preview=True)
|
||||
|
||||
filename = f"{task.slug}_30_v{task.version + 1}.mp4"
|
||||
task.video_url = await store_bytes(PIPELINE, task.id, filename, result.video,
|
||||
|
||||
Reference in new issue
Block a user