Update app.py
Browse files
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))
|