masteroko commited on
Commit
8ce6450
·
verified ·
1 Parent(s): 63fd686

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -322,6 +322,7 @@ with gr.Blocks(css=css) as demo:
322
  send_to_txt2img_btn.click(send_to_txt2img, inputs=[image_input], outputs=[tabs, prompt, negative_prompt,
323
  steps, seed, model, sampler,
324
  width, height, cfg_scale],
 
325
 
326
  # Add a new button for the img2img functionality
327
  send_to_img2img_btn = gr.Button("копировать в данные в img2img")
 
322
  send_to_txt2img_btn.click(send_to_txt2img, inputs=[image_input], outputs=[tabs, prompt, negative_prompt,
323
  steps, seed, model, sampler,
324
  width, height, cfg_scale],
325
+ concurrency_limit=1024)
326
 
327
  # Add a new button for the img2img functionality
328
  send_to_img2img_btn = gr.Button("копировать в данные в img2img")