bupa1018 commited on
Commit
be33cff
·
verified ·
1 Parent(s): d8f8d74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def main():
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],
107
  )
 
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 _: [],
105
  [chat_history],
106
  [chat_history],
107
  )