Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -101,4 +101,5 @@ async def recommend_api(request: Request):
|
|
101 |
|
102 |
# === Mount Gradio to FastAPI ===
|
103 |
from gradio.routes import mount_gradio_app
|
|
|
104 |
app = mount_gradio_app(app, gr_interface, path="/")
|
|
|
101 |
|
102 |
# === Mount Gradio to FastAPI ===
|
103 |
from gradio.routes import mount_gradio_app
|
104 |
+
app=FastAPI()
|
105 |
app = mount_gradio_app(app, gr_interface, path="/")
|