Arcypojeb commited on
Commit
c80b839
1 Parent(s): 8016c31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -297,7 +297,7 @@ with gr.Blocks() as demo:
297
  startClient.click(start_client, inputs=clientPort, outputs=[PortInUse, client_msg])
298
  stopWebsockets.click(stop_websockets, inputs=None, outputs=server_msg)
299
  startInterface = gr.Button("Start GUI")
300
- Bot.click(askQuestion, inputs=userInput, outputs=server_msg)
301
  startInterface.click(start_interface, inputs=None, outputs=None)
302
 
303
  demo.queue()
 
297
  startClient.click(start_client, inputs=clientPort, outputs=[PortInUse, client_msg])
298
  stopWebsockets.click(stop_websockets, inputs=None, outputs=server_msg)
299
  startInterface = gr.Button("Start GUI")
300
+ Bot.click(run_agent, inputs=userInput, outputs=server_msg)
301
  startInterface.click(start_interface, inputs=None, outputs=None)
302
 
303
  demo.queue()