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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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?")