Noename commited on
Commit
84d7db6
·
verified ·
1 Parent(s): c89bb38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -204,7 +204,7 @@ with block:
204
  result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery")
205
  ips = [input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, strength, scale, seed,
206
  eta, threshold]
207
- run_button.click(fn=process, inputs=ips, outputs=[result_gallery], concurrency_limit=4)
208
 
209
  block.queue(max_size=100)
210
  block.launch(share=True)
 
204
  result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery")
205
  ips = [input_image, prompt, a_prompt, n_prompt, num_samples, image_resolution, ddim_steps, strength, scale, seed,
206
  eta, threshold]
207
+ run_button.click(fn=process, inputs=ips, outputs=[result_gallery], concurrency_limit=2)
208
 
209
  block.queue(max_size=100)
210
  block.launch(share=True)