* tasks
Browse files
App/Generate/generatorRoutes.py
CHANGED
@@ -69,7 +69,7 @@ async def bulkGenerate(bulkRequest: GeneratorBulkRequest):
|
|
69 |
for request in bulkRequest.stories:
|
70 |
tasks.append(main(request=request))
|
71 |
|
72 |
-
await asyncio.gather(
|
73 |
|
74 |
|
75 |
generator_router = APIRouter(tags=["video-Generator"])
|
|
|
69 |
for request in bulkRequest.stories:
|
70 |
tasks.append(main(request=request))
|
71 |
|
72 |
+
await asyncio.gather(*tasks)
|
73 |
|
74 |
|
75 |
generator_router = APIRouter(tags=["video-Generator"])
|