RoversX commited on
Commit
686a3bb
1 Parent(s): a49ea7c

Update tabbed.py

Browse files
Files changed (1) hide show
  1. tabbed.py +1 -1
tabbed.py CHANGED
@@ -36,7 +36,7 @@ def chat(history, system_message, max_tokens, temperature, top_p, top_k, repeat_
36
  history = history or []
37
 
38
  messages = system_message + \
39
- "\n".join(["\n".join(["USER: "+item[0], "ASSISTANT: "+item[1]])
40
  for item in history])
41
 
42
  # remove last space from assistant, some models output a ZWSP if you leave a space
 
36
  history = history or []
37
 
38
  messages = system_message + \
39
+ "\n".join(["\n".join(["human: "+item[0], "assistant: "+item[1]])
40
  for item in history])
41
 
42
  # remove last space from assistant, some models output a ZWSP if you leave a space