zhuowen999 commited on
Commit
b437d8e
1 Parent(s): 5d84156

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ if __name__ == '__main__':
153
  o2 = gr.Audio(label="Output Audio", elem_id=f"tts-audio")
154
  o3 = gr.Textbox(label="Extra Info")
155
  download = gr.Button("Download Audio")
156
- btn.click(vits, inputs=[input_text, lang, sid, ns, nsw, ls], outputs=[o1, o2, o3],api_name='get')
157
  download.click(None, [], [], _js=download_audio_js.format())
158
  btn2.click(search_speaker, inputs=[search], outputs=[sid])
159
  lang.change(change_lang, inputs=[lang], outputs=[ns, nsw, ls])
 
153
  o2 = gr.Audio(label="Output Audio", elem_id=f"tts-audio")
154
  o3 = gr.Textbox(label="Extra Info")
155
  download = gr.Button("Download Audio")
156
+ btn.click(vits, inputs=[input_text, lang, sid, ns, nsw, ls], outputs=[o1, o2, o3],api_name='voice')
157
  download.click(None, [], [], _js=download_audio_js.format())
158
  btn2.click(search_speaker, inputs=[search], outputs=[sid])
159
  lang.change(change_lang, inputs=[lang], outputs=[ns, nsw, ls])