haohsiang commited on
Commit
54e000b
·
verified ·
1 Parent(s): 71b87a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -351,5 +351,5 @@ with gr.Blocks(theme=theme, css=css) as demo:
351
  # generate other images event handle
352
  gen_other_img.click(generate_images, [chatbot], image_outputs)
353
 
354
- demo.queue(max_threads=10)
355
  demo.launch(show_api=False)
 
351
  # generate other images event handle
352
  gen_other_img.click(generate_images, [chatbot], image_outputs)
353
 
354
+ demo.queue(max_size=20)
355
  demo.launch(show_api=False)