abidlabs HF staff commited on
Commit
e5fc496
1 Parent(s): ae677e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,6 +35,6 @@ with gr.Blocks() as demo:
35
  btn = gr.Button("Text-To-Speech")
36
  output_audio = gr.Audio(label="Speech Output")
37
 
38
- btn.click(fn=tts, inputs=text, outputs=output_audio, api_name="tts")
39
 
40
  demo.launch()
 
35
  btn = gr.Button("Text-To-Speech")
36
  output_audio = gr.Audio(label="Speech Output")
37
 
38
+ btn.click(fn=tts, inputs=text, outputs=output_audio, api_name="tts", concurrency_limit=None)
39
 
40
  demo.launch()