Update app.py
Browse files
app.py
CHANGED
@@ -258,7 +258,7 @@ def ask(user_message, chat_history):
|
|
258 |
|
259 |
response = chatbot(user_message, chat_history)
|
260 |
chat_history.append((user_message, response))
|
261 |
-
return chat_history
|
262 |
|
263 |
# Initialize chat history with a welcome messageinitial_message = (None, "Hello, how can I help you with Moodle?")
|
264 |
initial_message = (None, "Hello, how can I help you with Moodle?")
|
|
|
258 |
|
259 |
response = chatbot(user_message, chat_history)
|
260 |
chat_history.append((user_message, response))
|
261 |
+
return chat_history , chat_history, ""
|
262 |
|
263 |
# Initialize chat history with a welcome messageinitial_message = (None, "Hello, how can I help you with Moodle?")
|
264 |
initial_message = (None, "Hello, how can I help you with Moodle?")
|