Update app.py
Browse files
app.py
CHANGED
|
@@ -452,7 +452,7 @@ def generate_voiceover_clone(translated_json, desired_duration, target_language,
|
|
| 452 |
speed=speed_tts # <- add speed control
|
| 453 |
)
|
| 454 |
print("β
Voice cloning completed.")
|
| 455 |
-
return
|
| 456 |
|
| 457 |
except Exception as e:
|
| 458 |
print("β Error during voice cloning:")
|
|
|
|
| 452 |
speed=speed_tts # <- add speed control
|
| 453 |
)
|
| 454 |
print("β
Voice cloning completed.")
|
| 455 |
+
return output_audio_path, "β
Voice cloning completed successfully."
|
| 456 |
|
| 457 |
except Exception as e:
|
| 458 |
print("β Error during voice cloning:")
|