m7n commited on
Commit
7809ddd
·
1 Parent(s): 15ce78e

seting ssr to false

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -713,9 +713,9 @@ with gr.Blocks(theme=theme, css="""
713
 
714
  # Mount Gradio app to FastAPI
715
  if is_running_in_hf_space():
716
- app = gr.mount_gradio_app(app, demo, path="/",ssr_mode=True)
717
  else:
718
- app = gr.mount_gradio_app(app, demo, path="/",ssr_mode=False)
719
 
720
  # Run both servers
721
  if __name__ == "__main__":
 
713
 
714
  # Mount Gradio app to FastAPI
715
  if is_running_in_hf_space():
716
+ app = gr.mount_gradio_app(app, demo, path="/",ssr_mode=False) # setting to false for now.
717
  else:
718
+ app = gr.mount_gradio_app(app, demo, path="/",ssr_mode=False)
719
 
720
  # Run both servers
721
  if __name__ == "__main__":