mrfakename commited on
Commit
7a62809
1 Parent(s): 03572f6

Allow concurrency

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,4 +20,4 @@ with gr.Blocks() as demo:
20
  btn = gr.Button('Synthesize', variant='primary')
21
  aud = gr.Audio(interactive=False)
22
  btn.click(synthesize, inputs=[speaker, text, speed], outputs=[aud])
23
- demo.queue(api_open=False).launch(show_api=False)
 
20
  btn = gr.Button('Synthesize', variant='primary')
21
  aud = gr.Audio(interactive=False)
22
  btn.click(synthesize, inputs=[speaker, text, speed], outputs=[aud])
23
+ demo.queue(api_open=False, default_concurrency_limit=10).launch(show_api=False)