Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.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.queue().launch(max_threads=256)
|