Spaces:
Paused
Paused
Update space
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ class ChatLLM:
|
|
58 |
history,
|
59 |
system_message,
|
60 |
):
|
61 |
-
history = history or [
|
62 |
|
63 |
messages = SYS_MSG.replace("SYSTEM_PROMPT", system_message.strip())
|
64 |
for msg in history:
|
|
|
58 |
history,
|
59 |
system_message,
|
60 |
):
|
61 |
+
history = history or []
|
62 |
|
63 |
messages = SYS_MSG.replace("SYSTEM_PROMPT", system_message.strip())
|
64 |
for msg in history:
|