Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def generate_audio_from_modified_text(tts_ready_text,session_dir):
|
|
75 |
pickle.dump(tts_ready_text, f)
|
76 |
|
77 |
# Generate audio from the TTS-ready transcript
|
78 |
-
tts_gen = TTSGenerator(tts_ready_path)
|
79 |
audio_path = tts_gen.generate_audio()
|
80 |
|
81 |
return f"Step 4 complete. Audio saved to {audio_path}.", audio_path
|
|
|
75 |
pickle.dump(tts_ready_text, f)
|
76 |
|
77 |
# Generate audio from the TTS-ready transcript
|
78 |
+
tts_gen = TTSGenerator(tts_ready_path,audio_output_path)
|
79 |
audio_path = tts_gen.generate_audio()
|
80 |
|
81 |
return f"Step 4 complete. Audio saved to {audio_path}.", audio_path
|