Arcypojeb commited on
Commit
f33b1b2
·
1 Parent(s): 788086c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -184,9 +184,8 @@ with gr.Blocks() as demo:
184
  port = gr.Textbox()
185
  startWebsockets.click(start_websockets, inputs=websocketPort, outputs=port)
186
  gui.click(start_client, inputs=None, outputs=server_msg)
187
- Bot1.click(askQuestion, inputs=client_msg, outputs=server_msg)
188
-
189
- server_msg.change(askQuestion2, inputs=server_msg, outputs=client_msg)
190
 
191
  with gr.TabItem("FalconChat", elem_id="falconchat", id=1):
192
  gr.load("HuggingFaceH4/starchat-playground", src="spaces")
 
184
  port = gr.Textbox()
185
  startWebsockets.click(start_websockets, inputs=websocketPort, outputs=port)
186
  gui.click(start_client, inputs=None, outputs=server_msg)
187
+ server_msg.change(askQuestion2, inputs=server_msg, outputs=client_msg)
188
+ Bot1.click(askQuestion, inputs=client_msg, outputs=server_msg)
 
189
 
190
  with gr.TabItem("FalconChat", elem_id="falconchat", id=1):
191
  gr.load("HuggingFaceH4/starchat-playground", src="spaces")