Slimy619 commited on
Commit
6502352
·
1 Parent(s): f562ed1

Update space

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