zenafey commited on
Commit
52018f9
·
1 Parent(s): 6e4bf3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -189,4 +189,4 @@ with gr.Blocks(css=css, theme="zenafey/prodia-web") as demo:
189
 
190
  upscale_stop_btn.click(fn=update_btn_end, outputs=[upscale_btn, upscale_stop_btn], cancels=[upscale_event])
191
 
192
- demo.queue().launch(max_threads=256)
 
189
 
190
  upscale_stop_btn.click(fn=update_btn_end, outputs=[upscale_btn, upscale_stop_btn], cancels=[upscale_event])
191
 
192
+ demo.queue(max_size=20, api_open=False).launch(max_threads=400)