Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,6 @@ def chat_interface_fn(message, history, session_id):
|
|
| 23 |
# 3) Convert history to message dictionaries for display
|
| 24 |
message_dicts = []
|
| 25 |
for msg in history:
|
| 26 |
-
# Ensure the message format is correct: it should always be a dictionary
|
| 27 |
message_dicts.append(msg)
|
| 28 |
|
| 29 |
# Return the message dicts and updated history
|
|
|
|
| 23 |
# 3) Convert history to message dictionaries for display
|
| 24 |
message_dicts = []
|
| 25 |
for msg in history:
|
|
|
|
| 26 |
message_dicts.append(msg)
|
| 27 |
|
| 28 |
# Return the message dicts and updated history
|