Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,8 @@ with gr.Blocks(css=css) as demo:
|
|
158 |
submit_btn.click(
|
159 |
fn=infer,
|
160 |
inputs=[image_in, chosen_model],
|
161 |
-
outputs=[audio_o]
|
|
|
162 |
)
|
163 |
|
164 |
demo.queue(max_size=10).launch(debug=True)
|
|
|
158 |
submit_btn.click(
|
159 |
fn=infer,
|
160 |
inputs=[image_in, chosen_model],
|
161 |
+
outputs=[audio_o],
|
162 |
+
concurrency_limit = 4
|
163 |
)
|
164 |
|
165 |
demo.queue(max_size=10).launch(debug=True)
|