Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -118,5 +118,5 @@ with gr.Blocks() as io:
|
|
118 |
gr.mount_gradio_app(app, io, path='/gradio')
|
119 |
|
120 |
@app.get("/")
|
121 |
-
|
122 |
-
return
|
|
|
118 |
gr.mount_gradio_app(app, io, path='/gradio')
|
119 |
|
120 |
@app.get("/")
|
121 |
+
def root(request: Request):
|
122 |
+
return RedirectResponse(f"{request.base_url}/gradio")
|