bupa1018 commited on
Commit
aa44036
·
verified ·
1 Parent(s): bd0da8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -99,11 +99,6 @@ 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(
103
- lambda: ([], gr.update(value=[])),
104
- [],
105
- [chat_history, chatbot]
106
- )
107
 
108
  demo.launch()
109
 
 
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
  demo.launch()
104