disLodge commited on
Commit
8fca559
·
1 Parent(s): f0b0223
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,10 +24,10 @@ async def callback(request: Request):
24
  def chat_interface(message):
25
  return run_agent(message)
26
 
27
- gradio_ui = gr.Interface(
28
  fn=chat_interface,
29
  inputs="text",
30
  outputs="text"
31
  )
32
 
33
- app = gr.mount_gradio_app(app, gradio_ui, path="/")
 
24
  def chat_interface(message):
25
  return run_agent(message)
26
 
27
+ demo = gr.Interface(
28
  fn=chat_interface,
29
  inputs="text",
30
  outputs="text"
31
  )
32
 
33
+ demo.launch(server_name="0.0.0.0", server_port=7860)