Update video2.py
Browse files
video2.py
CHANGED
|
@@ -302,7 +302,7 @@ async def generate_tts(id, lines, lang_input):
|
|
| 302 |
|
| 303 |
def audio_func(id, lines, lang):
|
| 304 |
"""Synchronous wrapper for audio generation."""
|
| 305 |
-
return asyncio.run(
|
| 306 |
|
| 307 |
#-----------------------------
|
| 308 |
#---------------------------------
|
|
|
|
| 302 |
|
| 303 |
def audio_func(id, lines, lang):
|
| 304 |
"""Synchronous wrapper for audio generation."""
|
| 305 |
+
return asyncio.run(generate_tts(id, lines, lang))
|
| 306 |
|
| 307 |
#-----------------------------
|
| 308 |
#---------------------------------
|