Spaces:
Running
on
Zero
Running
on
Zero
seting ssr to false
Browse files
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=
|
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__":
|