Spaces:
Runtime error
Runtime error
Update tabbed.py
Browse files
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(["
|
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
|