Arcypojeb commited on
Commit
2537227
·
1 Parent(s): 4365038

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -293,7 +293,7 @@ with gr.Blocks() as demo:
293
  with gr.Row():
294
  PortInUse = gr.Textbox()
295
  startServer.click(start_websockets, inputs=websocketPort, outputs=port)
296
- startClient.click(start_client, inputs=clientPort, outputs=[PortInUse, client_msg]).then(askQuestion, inputs=client_msg, outputs=server_msg)
297
  stopWebsockets.click(stop_websockets, inputs=None, outputs=server_msg)
298
  startInterface = gr.Button("Start GUI")
299
  Bot.click(askQuestion, inputs=userInput, outputs=server_msg)
 
293
  with gr.Row():
294
  PortInUse = gr.Textbox()
295
  startServer.click(start_websockets, inputs=websocketPort, outputs=port)
296
+ startClient.click(start_client, inputs=clientPort, outputs=[PortInUse, client_msg])
297
  stopWebsockets.click(stop_websockets, inputs=None, outputs=server_msg)
298
  startInterface = gr.Button("Start GUI")
299
  Bot.click(askQuestion, inputs=userInput, outputs=server_msg)