Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -273,7 +273,7 @@ async def toggle_favorite_route(request: Request):
|
|
273 |
|
274 |
# Mount the Gradio app onto the FastAPI app
|
275 |
app = gr.mount_gradio_app(api, demo, path="/")
|
276 |
-
demo.launch()
|
277 |
if __name__ == "__main__":
|
278 |
import uvicorn
|
279 |
load_shortcuts()
|
|
|
273 |
|
274 |
# Mount the Gradio app onto the FastAPI app
|
275 |
app = gr.mount_gradio_app(api, demo, path="/")
|
276 |
+
demo.launch(ssr_mode=False)
|
277 |
if __name__ == "__main__":
|
278 |
import uvicorn
|
279 |
load_shortcuts()
|