mrfakename
commited on
Commit
•
7a62809
1
Parent(s):
03572f6
Allow concurrency
Browse files
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)
|