Spaces:
Sleeping
Sleeping
Disable Gradio SSR on Space
Browse files
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).
|