Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -420,7 +420,7 @@ async def root():
|
|
| 420 |
<html>
|
| 421 |
<head>
|
| 422 |
<title>Video Emotion Detection</title>
|
| 423 |
-
<meta http-equiv="refresh" content="0; url=/gradio" />
|
| 424 |
</head>
|
| 425 |
<body>
|
| 426 |
<p>Redirecting to Gradio interface... <a href="/gradio">Click here</a> if not redirected.</p>
|
|
@@ -429,7 +429,7 @@ async def root():
|
|
| 429 |
"""
|
| 430 |
|
| 431 |
# Mount Gradio app to FastAPI
|
| 432 |
-
app = gr.mount_gradio_app(app, demo, path="/")
|
| 433 |
|
| 434 |
if __name__ == "__main__":
|
| 435 |
import uvicorn
|
|
|
|
| 420 |
<html>
|
| 421 |
<head>
|
| 422 |
<title>Video Emotion Detection</title>
|
| 423 |
+
<meta http-equiv="refresh" content="0; url=/gradio/" />
|
| 424 |
</head>
|
| 425 |
<body>
|
| 426 |
<p>Redirecting to Gradio interface... <a href="/gradio">Click here</a> if not redirected.</p>
|
|
|
|
| 429 |
"""
|
| 430 |
|
| 431 |
# Mount Gradio app to FastAPI
|
| 432 |
+
app = gr.mount_gradio_app(app, demo, path="/gradio")
|
| 433 |
|
| 434 |
if __name__ == "__main__":
|
| 435 |
import uvicorn
|