Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -321,6 +321,7 @@ async def generate_story_audios_async(story: StoryCreationDTO, base_output: str,
|
|
| 321 |
story_dir = Path(base_output) / story.storyId
|
| 322 |
story_dir.mkdir(parents=True, exist_ok=True)
|
| 323 |
|
|
|
|
| 324 |
# Semaphore ensures we don't overload GPU
|
| 325 |
gpu_semaphore = asyncio.Semaphore(max_concurrent_gpu)
|
| 326 |
|
|
|
|
| 321 |
story_dir = Path(base_output) / story.storyId
|
| 322 |
story_dir.mkdir(parents=True, exist_ok=True)
|
| 323 |
|
| 324 |
+
print("generating story ...")
|
| 325 |
# Semaphore ensures we don't overload GPU
|
| 326 |
gpu_semaphore = asyncio.Semaphore(max_concurrent_gpu)
|
| 327 |
|