radames commited on
Commit
718ed81
1 Parent(s): 888ff7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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(concurrency_count=1, max_size=20,api_open=False)
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)