zenafey commited on
Commit
9c03d69
·
1 Parent(s): 20ac816

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -599,4 +599,4 @@ with gr.Blocks(css=css) as demo:
599
  upscale_event = upscale_btn.click(fn=upscale_fn, inputs=[upscale_image_input, scale_by], outputs=[upscale_output, upscale_btn, upscale_stop])
600
  upscale_stop.click(fn=stop_upscale, outputs=[upscale_btn, upscale_stop], cancels=[upscale_event])
601
 
602
- demo.queue(concurrency_count=64, max_size=80, api_open=False).launch(max_threads=256)
 
599
  upscale_event = upscale_btn.click(fn=upscale_fn, inputs=[upscale_image_input, scale_by], outputs=[upscale_output, upscale_btn, upscale_stop])
600
  upscale_stop.click(fn=stop_upscale, outputs=[upscale_btn, upscale_stop], cancels=[upscale_event])
601
 
602
+ demo.launch(max_threads=256)