Set no concurrency limit

#1
by abidlabs HF staff - opened
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()