melk2025 commited on
Commit
e26fc09
·
verified ·
1 Parent(s): 351f772

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -254,7 +254,7 @@ def save_chat_to_file(chat_history):
254
 
255
  def ask(user_message, chat_history):
256
  if not user_message:
257
- return chat_history
258
 
259
  response = chatbot(user_message, chat_history)
260
  chat_history.append((user_message, response))
 
254
 
255
  def ask(user_message, chat_history):
256
  if not user_message:
257
+ return chat_history , chat_history, ""
258
 
259
  response = chatbot(user_message, chat_history)
260
  chat_history.append((user_message, response))