bupa1018 commited on
Commit
485d75b
·
1 Parent(s): a0cdfd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ def main():
90
  )
91
 
92
  # Use the state to persist chat history between interactions
93
- submit_btn.click(add_text_to_chatbot, [chat_history, user_txt], [chatbot, user_txt])\
94
  .then(bot_kadi, [chat_history], [chatbot])
95
 
96
  clear_btn.click(lambda: ([], ""), None, [chat_history, chatbot, user_txt])
 
90
  )
91
 
92
  # Use the state to persist chat history between interactions
93
+ submit_btn.click(add_text_to_chatbot, [chat_history, user_txt], [chat_history, user_txt])\
94
  .then(bot_kadi, [chat_history], [chatbot])
95
 
96
  clear_btn.click(lambda: ([], ""), None, [chat_history, chatbot, user_txt])