Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
103 |
-
|
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],
|