Aki004 commited on
Commit
fbb63bb
1 Parent(s): 45e0ec0

Update app.py

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