Spaces:
Sleeping
Sleeping
Commit ·
c41ff9d
1
Parent(s): 55f5dea
`app.py`: limit concurrency to 1
Browse files
app.py
CHANGED
|
@@ -149,4 +149,4 @@ with gr.Blocks(css=css) as demo:
|
|
| 149 |
outputs=[result, seed]
|
| 150 |
)
|
| 151 |
|
| 152 |
-
demo.queue(default_concurrency_limit=
|
|
|
|
| 149 |
outputs=[result, seed]
|
| 150 |
)
|
| 151 |
|
| 152 |
+
demo.queue(default_concurrency_limit=1, max_size=5, api_open=False).launch(max_threads=256, show_api=False)
|