Karthikeyan commited on
Commit
327610a
1 Parent(s): 24c2679

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -269,9 +269,9 @@ class LangChain_Document_QA:
269
  txt_msg.then(lambda: gr.update(interactive=True), None, [txt])
270
  txt.submit(self._suggested_answer,txt,txt3)
271
  button.click(self._agent_text, [chatbot,txt3], chatbot)
272
- txt2.submit(self._agent_text, [chatbot, txt2], chatbot).then(
273
- self._agent_text, [chatbot, txt2], chatbot
274
- )
275
  end_btn.click(self._display_history, [], txt4)
276
  emptyBtn.click(self.clear_func,[],[])
277
  emptyBtn.click(lambda: None, None, chatbot, queue=False)
 
269
  txt_msg.then(lambda: gr.update(interactive=True), None, [txt])
270
  txt.submit(self._suggested_answer,txt,txt3)
271
  button.click(self._agent_text, [chatbot,txt3], chatbot)
272
+ # txt2.submit(self._agent_text, [chatbot, txt2], chatbot).then(
273
+ # self._agent_text, [chatbot, txt2], chatbot
274
+ # )
275
  end_btn.click(self._display_history, [], txt4)
276
  emptyBtn.click(self.clear_func,[],[])
277
  emptyBtn.click(lambda: None, None, chatbot, queue=False)