Fixes 500 error for some users

#1
by Tonic - opened
Files changed (1) hide show
  1. app.py +1 -1
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: