bupa1018 commited on
Commit
4e1fc69
·
1 Parent(s): 98397d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def main():
95
  )
96
 
97
  # Use the state to persist chat history between interactions
98
- submit_btn.click(add_text_to_chatbot, [chat_history, user_txt], [chat_history, user_txt]).then(show_history,[chat_history], [chatbot]
99
  .then(bot_kadi, [chat_history], [chatbot])
100
 
101
  clear_btn.click(lambda: ([], ""), None, [chat_history, chatbot, user_txt])
 
95
  )
96
 
97
  # Use the state to persist chat history between interactions
98
+ submit_btn.click(add_text_to_chatbot, [chat_history, user_txt], [chat_history, user_txt]).then(show_history,[chat_history], [chatbot])
99
  .then(bot_kadi, [chat_history], [chatbot])
100
 
101
  clear_btn.click(lambda: ([], ""), None, [chat_history, chatbot, user_txt])