bupa1018 commited on
Commit
bf0993f
·
verified ·
1 Parent(s): 9dc50ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -99,8 +99,8 @@ def main():
99
  .then(kadi_bot.handle_chat, [chat_history], [chatbot])
100
  submit_btn.click(add_text_to_chat_history, [chat_history, user_txt], [chat_history, user_txt]).then(show_history, [chat_history], [chatbot])\
101
  .then(kadi_bot.handle_chat, [chat_history], [chatbot])
102
- clear_btn.click(clear_history, inputs = [chat_history], outputs =chat_history)
103
- clear_button.click(
104
  lambda _: 0,
105
  [chat_history],
106
  [chat_history],
 
99
  .then(kadi_bot.handle_chat, [chat_history], [chatbot])
100
  submit_btn.click(add_text_to_chat_history, [chat_history, user_txt], [chat_history, user_txt]).then(show_history, [chat_history], [chatbot])\
101
  .then(kadi_bot.handle_chat, [chat_history], [chatbot])
102
+ # clear_btn.click(clear_history, inputs = [chat_history], outputs =chat_history)
103
+ clear_btn.click(
104
  lambda _: 0,
105
  [chat_history],
106
  [chat_history],