Upload app.py
Browse files
app.py
CHANGED
|
@@ -836,7 +836,7 @@ app = gr.mount_gradio_app(app, demo, path="/gradio")
|
|
| 836 |
@app.get("/", response_class=HTMLResponse, include_in_schema=False)
|
| 837 |
async def root_redirect():
|
| 838 |
"""Redirect to Gradio interface."""
|
| 839 |
-
return HTMLResponse('<meta http-equiv="refresh" content="0; url=/gradio" />')
|
| 840 |
|
| 841 |
if __name__ == "__main__":
|
| 842 |
import uvicorn
|
|
|
|
| 836 |
@app.get("/", response_class=HTMLResponse, include_in_schema=False)
|
| 837 |
async def root_redirect():
|
| 838 |
"""Redirect to Gradio interface."""
|
| 839 |
+
return HTMLResponse('<meta http-equiv="refresh" content="0; url=/gradio/" />')
|
| 840 |
|
| 841 |
if __name__ == "__main__":
|
| 842 |
import uvicorn
|