Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|
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)
|