tomoya 1 月之前
父節點
當前提交
a904324aa6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      backend/app/app/api/api_v1/endpoints/text2zip.py

+ 1 - 0
backend/app/app/api/api_v1/endpoints/text2zip.py

@@ -166,6 +166,7 @@ async def generate_video(
         return HTTPException("No texts.")
 
 async def wait_finish(model, email, texts, lang): 
+    await asyncio.sleep(1)
     if not model:
         model = 'sd3'
     wb = px.Workbook()