Fixes 500 error for some users

#1
by Tonic - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -699,7 +699,7 @@ def main(args):
699
  #################### Gradio Interface ####################
700
 
701
  # Launch the Gradio app
702
- demo.launch()
703
 
704
 
705
  if __name__ == "__main__":
 
699
  #################### Gradio Interface ####################
700
 
701
  # Launch the Gradio app
702
+ demo.launch(ssr_mode=False)
703
 
704
 
705
  if __name__ == "__main__":