CoCoOne commited on
Commit
ec086ef
·
verified ·
1 Parent(s): 7d0f51c

Disable SSR for submit space stability

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -666,6 +666,7 @@ if __name__ == '__main__':
666
  demo.launch(
667
  theme=gr.themes.Base(),
668
  css=CSS,
 
669
  server_name=os.environ.get('GRADIO_SERVER_NAME', '0.0.0.0'),
670
  server_port=int(os.environ.get('GRADIO_SERVER_PORT', os.environ.get('PORT', '7860'))),
671
  )
 
666
  demo.launch(
667
  theme=gr.themes.Base(),
668
  css=CSS,
669
+ ssr_mode=False,
670
  server_name=os.environ.get('GRADIO_SERVER_NAME', '0.0.0.0'),
671
  server_port=int(os.environ.get('GRADIO_SERVER_PORT', os.environ.get('PORT', '7860'))),
672
  )