Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,6 @@ tts_text = gr.Textbox(label="TTS text (100 words limitation)")
|
|
45 |
tts_voice = gr.Dropdown(choices= tts_get_voices_list(), visible=False)
|
46 |
submit_btn = gr.Button("Generate", variant="primary")
|
47 |
audio_output = gr.Audio(label="Output Audio")
|
48 |
-
submit_btn.click(tts_mode, [tts_text, tts_voice], [audio_output])
|
49 |
|
50 |
app = gr.Interface(tts_mode, [tts_text, tts_voice], [audio_output])
|
51 |
app.launch()
|
|
|
45 |
tts_voice = gr.Dropdown(choices= tts_get_voices_list(), visible=False)
|
46 |
submit_btn = gr.Button("Generate", variant="primary")
|
47 |
audio_output = gr.Audio(label="Output Audio")
|
|
|
48 |
|
49 |
app = gr.Interface(tts_mode, [tts_text, tts_voice], [audio_output])
|
50 |
app.launch()
|