Update app.py
Browse files
app.py
CHANGED
|
@@ -548,7 +548,7 @@ def generate_video():
|
|
| 548 |
best=lst[1].split("&&&")
|
| 549 |
lines=best[0]
|
| 550 |
lang=best[1]
|
| 551 |
-
length, audio_path = audio_func(
|
| 552 |
if not duration or not audio_path:
|
| 553 |
print("Failed to generate audio.")
|
| 554 |
|
|
|
|
| 548 |
best=lst[1].split("&&&")
|
| 549 |
lines=best[0]
|
| 550 |
lang=best[1]
|
| 551 |
+
length, audio_path = audio_func(0, lines, lang)
|
| 552 |
if not duration or not audio_path:
|
| 553 |
print("Failed to generate audio.")
|
| 554 |
|