yasserrmd commited on
Commit
3a5956d
1 Parent(s): 73b02c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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