Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -82,5 +82,5 @@ if __name__ == '__main__':
|
|
82 |
tts_voice = gr.Dropdown.update(choices= tts_get_voices_list(), visible = True, show_label = True)
|
83 |
audio_input = gr.Audio.update(label = 'Input Audio', visible = False, show_label = False)
|
84 |
|
85 |
-
btn_submit.click(infer, [tts_text, audio_input, tts_voice], [audio_output])
|
86 |
app.queue(concurrency_count=1, api_open=args.api).launch(share=args.share)
|
|
|
82 |
tts_voice = gr.Dropdown.update(choices= tts_get_voices_list(), visible = True, show_label = True)
|
83 |
audio_input = gr.Audio.update(label = 'Input Audio', visible = False, show_label = False)
|
84 |
|
85 |
+
btn_submit.click(infer, [tts_text, audio_input, tts_voice, audio_mode], [audio_output])
|
86 |
app.queue(concurrency_count=1, api_open=args.api).launch(share=args.share)
|