Fixes 500 error for some users

#1
by Tonic - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -255,4 +255,4 @@ if __name__ == "__main__":
255
  outputs=[*input_image, input])
256
  cancel_btn.click(fn=lambda : gr.update(disabled=True), inputs=None, outputs=[cancel_btn], cancels=[output_process])
257
 
258
- demo.queue(default_concurrency_limit=50).launch()
 
255
  outputs=[*input_image, input])
256
  cancel_btn.click(fn=lambda : gr.update(disabled=True), inputs=None, outputs=[cancel_btn], cancels=[output_process])
257
 
258
+ demo.queue(default_concurrency_limit=50).launch(ssr_mode=False)