Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -75,7 +75,7 @@ with gr.Blocks() as demo:
|
|
75 |
)
|
76 |
|
77 |
# Mount Gradio app to FastAPI with SSR mode for Spaces
|
78 |
-
app = gr.mount_gradio_app(app, demo, path="/", ssr_mode=
|
79 |
|
80 |
# Run server
|
81 |
if __name__ == "__main__":
|
|
|
75 |
)
|
76 |
|
77 |
# Mount Gradio app to FastAPI with SSR mode for Spaces
|
78 |
+
app = gr.mount_gradio_app(app, demo, path="/", ssr_mode=True)
|
79 |
|
80 |
# Run server
|
81 |
if __name__ == "__main__":
|