atharva-nlp commited on
Commit
bebdbb6
·
verified ·
1 Parent(s): aec700e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- async def root(request: Request):
122
- return await RedirectResponse(f"{request.base_url}/gradio")
 
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")