hassassin commited on
Commit
9523100
1 Parent(s): 5bea81c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -328,7 +328,7 @@ with gr.Blocks(css=css) as Portrait:
328
  test_button = gr.Button(value="Run", elem_id="button")
329
 
330
 
331
- test_button.click(fn=portrait_gen, inputs=[imgs, refer_img, prompt, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name=False)
332
 
333
  with gr.Column(elem_id = "col-showcase"):
334
  gr.HTML("""
 
328
  test_button = gr.Button(value="Run", elem_id="button")
329
 
330
 
331
+ test_button.click(fn=portrait_gen, inputs=[imgs, refer_img, prompt, seed, randomize_seed], outputs=[image_out, seed_used, result_info], api_name=False, concurrency_limit=10)
332
 
333
  with gr.Column(elem_id = "col-showcase"):
334
  gr.HTML("""