sacj commited on
Commit
0cd4dd1
·
verified ·
1 Parent(s): d730061

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -145,5 +145,5 @@ with gr.Blocks() as demo:
145
  inputs = [original_image, input_mask, prompt, negative_prompt, blended, invert_mask, control_strength, seed, randomize_seed, guidance_scale, num_inference_steps]
146
  run_button.click(fn=process, inputs=inputs, outputs=[result_gallery])
147
 
148
- demo.queue(concurrency_count=2, api_open=True)
149
- demo.launch(max_threads=2, show_api=True, enable_queue=True, show_error=True)
 
145
  inputs = [original_image, input_mask, prompt, negative_prompt, blended, invert_mask, control_strength, seed, randomize_seed, guidance_scale, num_inference_steps]
146
  run_button.click(fn=process, inputs=inputs, outputs=[result_gallery])
147
 
148
+ demo.queue(concurrency_count=1, api_open=True)
149
+ demo.launch(show_api=True, enable_queue=True, show_error=True)