AnatoliiG commited on
Commit
23a3fca
·
1 Parent(s): cbbd03b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -94,12 +94,7 @@ demo = gr.ChatInterface(
94
  description="API endpoint: /v1/chat/completions",
95
  )
96
 
97
- app = mount_gradio_app(app, demo, path="/ui")
98
-
99
-
100
- @app.get("/")
101
- async def root():
102
- return RedirectResponse(url="/ui")
103
 
104
 
105
  if __name__ == "__main__":
 
94
  description="API endpoint: /v1/chat/completions",
95
  )
96
 
97
+ app = mount_gradio_app(app, demo, path="/")
 
 
 
 
 
98
 
99
 
100
  if __name__ == "__main__":