Spaces:
Paused
Paused
app.py: reduce allowed concurrency
Browse files
app.py
CHANGED
|
@@ -324,4 +324,4 @@ with gr.Blocks(css=css) as demo:
|
|
| 324 |
width, height, cfg_scale],
|
| 325 |
concurrency_limit=32)
|
| 326 |
|
| 327 |
-
demo.queue(max_size=
|
|
|
|
| 324 |
width, height, cfg_scale],
|
| 325 |
concurrency_limit=32)
|
| 326 |
|
| 327 |
+
demo.queue(max_size=20, api_open=False).launch(max_threads=40, show_api=False)
|