Srinivasulu kethanaboina commited on
Commit
c202a94
·
verified ·
1 Parent(s): bb57cdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ chat = gr.ChatInterface(fn=respond_to_chat, title="Chat with AI")
18
  app.mount("/static", StaticFiles(directory="static", html=True), name="static")
19
 
20
  # Mount Gradio ChatInterface to FastAPI app
21
- app = gr.mount_gradio_app(app, chat, "/", gradio_api_url="http://localhost:7860/")
22
 
23
  # Run the app with uvicorn
24
  if __name__ == "__main__":
 
18
  app.mount("/static", StaticFiles(directory="static", html=True), name="static")
19
 
20
  # Mount Gradio ChatInterface to FastAPI app
21
+ app = gr.mount_gradio_app(app, chat,path="/gradio")
22
 
23
  # Run the app with uvicorn
24
  if __name__ == "__main__":