Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,6 +49,6 @@ if __name__ == '__main__':
|
|
49 |
audio_output = gr.Audio(label="Output Audio")
|
50 |
btn_submit = gr.Button("Generate")
|
51 |
|
52 |
-
|
53 |
|
54 |
app.launch()
|
|
|
49 |
audio_output = gr.Audio(label="Output Audio")
|
50 |
btn_submit = gr.Button("Generate")
|
51 |
|
52 |
+
btn_submit.click(tts_mode, [tts_text, tts_voice], [audio_output])
|
53 |
|
54 |
app.launch()
|