Aki004 commited on
Commit
59f6c6f
1 Parent(s): 21f8765

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)