Gregniuki commited on
Commit
cc437ea
·
verified ·
1 Parent(s): c87f415

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -766,7 +766,7 @@ with gr.Blocks() as app_emotional:
766
  ref_text = speech_types[current_emotion].get('ref_text', '')
767
 
768
  # Generate speech for this segment
769
- audio, _ = infer(ref_audio, ref_text, text, model_choice, remove_silence, 0)
770
  sr, audio_data = audio
771
 
772
  generated_audio_segments.append(audio_data)
 
766
  ref_text = speech_types[current_emotion].get('ref_text', '')
767
 
768
  # Generate speech for this segment
769
+ audio, _ = infer(ref_audio, ref_text, text, model_choice, remove_silence)
770
  sr, audio_data = audio
771
 
772
  generated_audio_segments.append(audio_data)