Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -219,6 +219,7 @@ model: https://huggingface.co/DionTimmer/controlnet_qrcode-control_v1p_sd15
|
|
219 |
sampler,
|
220 |
],
|
221 |
outputs=[result_image],
|
|
|
222 |
)
|
223 |
|
224 |
gr.Examples(
|
@@ -281,5 +282,5 @@ model: https://huggingface.co/DionTimmer/controlnet_qrcode-control_v1p_sd15
|
|
281 |
cache_examples=True,
|
282 |
)
|
283 |
|
284 |
-
blocks.queue(
|
285 |
blocks.launch(share=bool(os.environ.get("SHARE", False)), show_api=False)
|
|
|
219 |
sampler,
|
220 |
],
|
221 |
outputs=[result_image],
|
222 |
+
concurrency_limit=1
|
223 |
)
|
224 |
|
225 |
gr.Examples(
|
|
|
282 |
cache_examples=True,
|
283 |
)
|
284 |
|
285 |
+
blocks.queue(max_size=20,api_open=False)
|
286 |
blocks.launch(share=bool(os.environ.get("SHARE", False)), show_api=False)
|