AnshulS commited on
Commit
e020aa3
·
verified ·
1 Parent(s): 72f82eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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="/")