cocktailpeanut commited on
Commit
dc00cc0
1 Parent(s): 509f50e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,5 +34,5 @@ with gr.Blocks() as demo:
34
  text = gr.Textbox(label="Text to speak", value='The field of text to speech has seen rapid development recently')
35
  btn = gr.Button('Synthesize', variant='primary')
36
  aud = gr.Audio(interactive=False)
37
- btn.click(synthesize, inputs=[language, speaker, text, speed], outputs=[aud])
38
  demo.queue(api_open=False, default_concurrency_limit=10).launch(show_api=False)
 
34
  text = gr.Textbox(label="Text to speak", value='The field of text to speech has seen rapid development recently')
35
  btn = gr.Button('Synthesize', variant='primary')
36
  aud = gr.Audio(interactive=False)
37
+ btn.click(synthesize, inputs=[speaker, text, speed], outputs=[aud])
38
  demo.queue(api_open=False, default_concurrency_limit=10).launch(show_api=False)