Spaces:
Running
Running
Update app.py
Browse files
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(
|
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()
|