Tonic commited on
Commit
0eecce4
1 Parent(s): a184a8b

Fixes 500 error for some users

Browse files

![image.png](https://cdn-uploads.huggingface.co/production/uploads/62a3bb1cd0d8c2c2169f0b88/KEgcl6SYkQLg_YEsX7iXr.png)

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)