m7n commited on
Commit
d5c66ff
·
verified ·
1 Parent(s): 46c98af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ with gr.Blocks() as demo:
69
  )
70
 
71
  # Mount Gradio app to FastAPI with SSR mode for Spaces
72
- app = gr.mount_gradio_app(app, demo, path="/", ssr_mode=False)
73
 
74
  # Run server
75
  if __name__ == "__main__":
 
69
  )
70
 
71
  # Mount Gradio app to FastAPI with SSR mode for Spaces
72
+ app = gr.mount_gradio_app(app, demo, path="/", ssr_mode=True)
73
 
74
  # Run server
75
  if __name__ == "__main__":