Spaces:
Sleeping
Sleeping
databoysu commited on
Commit ·
7862856
1
Parent(s): 5070671
fix mount
Browse files29 unmodified lines3031323334353629 unmodified linesmax_concurrent_envs=1,)app = gr.mount_gradio_app(app, demo, path="/")def main() -> None:29 unmodified lines3031323334353637383940414229 unmodified linesmax_concurrent_envs=1,)from fastapi.responses import RedirectResponse@app.get("/", include_in_schema=False)async def root_redirect():return RedirectResponse(url="/web/")app = gr.mount_gradio_app(app, demo, path="/web")def main() -> None:
backend/app.py+7-1