ajc426 commited on
Commit
2dc7225
·
verified ·
1 Parent(s): 99f0873

Disable Gradio SSR on Space

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -268,6 +268,7 @@ app = gr.mount_gradio_app(
268
  path="/gradio",
269
  server_name=_server_host(),
270
  server_port=_server_port(),
 
271
  )
272
 
273
  # Serve the built frontend at / (mounted LAST so /api/* and /gradio win).
 
268
  path="/gradio",
269
  server_name=_server_host(),
270
  server_port=_server_port(),
271
+ ssr_mode=False,
272
  )
273
 
274
  # Serve the built frontend at / (mounted LAST so /api/* and /gradio win).