Fixes 500 error for some users
Browse files![image.png](https://cdn-uploads.huggingface.co/production/uploads/62a3bb1cd0d8c2c2169f0b88/30cOvRfEyDRCPSaUvvJzv.png)
app.py
CHANGED
@@ -98,7 +98,7 @@ with gr.Blocks() as demo:
|
|
98 |
selected_response_amount=3
|
99 |
|
100 |
submit_button.click(fn=generate_input, inputs=[input_type,image_input, text_input,selected_response_amount], outputs=output)
|
101 |
-
demo.launch()
|
102 |
|
103 |
|
104 |
# with gr.Blocks() as demo:
|
|
|
98 |
selected_response_amount=3
|
99 |
|
100 |
submit_button.click(fn=generate_input, inputs=[input_type,image_input, text_input,selected_response_amount], outputs=output)
|
101 |
+
demo.launch(ssr_mode = False)
|
102 |
|
103 |
|
104 |
# with gr.Blocks() as demo:
|