Spaces:
Running
Running
Set no concurrency limit (#1)
Browse files- Update app.py (e5fc496af4daa683354085099327d89c32e36dd7)
Co-authored-by: Abubakar Abid <abidlabs@users.noreply.huggingface.co>
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()
|