MariaKaiser commited on
Commit
f921f35
·
verified ·
1 Parent(s): b6ac661

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -313,7 +313,7 @@ def inference_by_model(text: str, audio_file: str, save_path: str) -> str:
313
  import asyncio
314
  from pathlib import Path
315
 
316
- async def generate_story_audios_async(story: StoryCreationDTO, base_output: str, max_concurrent_gpu: int = 1):
317
  """
318
  Generates audio files for the story while overlapping GPU inference and disk writes.
319
  max_concurrent_gpu: semaphore to limit simultaneous GPU usage (1 if GPU is the bottleneck)
 
313
  import asyncio
314
  from pathlib import Path
315
 
316
+ async def generate_story_audios(story: StoryCreationDTO, base_output: str, max_concurrent_gpu: int = 1):
317
  """
318
  Generates audio files for the story while overlapping GPU inference and disk writes.
319
  max_concurrent_gpu: semaphore to limit simultaneous GPU usage (1 if GPU is the bottleneck)