tomoya 9 달 전
부모
커밋
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()