kofi-scholar commited on
Commit
49c5602
·
1 Parent(s): 75b4f2e

Disable Gradio SSR for Space runtime

Browse files
Files changed (1) hide show
  1. gmass_app.py +1 -1
gmass_app.py CHANGED
@@ -462,4 +462,4 @@ with gr.Blocks(title="G-MASS", theme=gr.themes.Soft(), css=CSS) as demo:
462
 
463
 
464
  if __name__ == "__main__":
465
- demo.launch(server_name="0.0.0.0", server_port=int(os.getenv("PORT", "7860")))
 
462
 
463
 
464
  if __name__ == "__main__":
465
+ demo.launch(server_name="0.0.0.0", server_port=int(os.getenv("PORT", "7860")), ssr=False)