tomoya il y a 1 mois
Parent
commit
a904324aa6
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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()