Update tabbed.py
Browse files
tabbed.py
CHANGED
@@ -32,7 +32,7 @@ def chat(history, system_message, max_tokens, temperature, top_p, top_k, repeat_
|
|
32 |
history = history or []
|
33 |
|
34 |
messages = system_message + \
|
35 |
-
"\n".join(["\n".join(["
|
36 |
for item in history])
|
37 |
|
38 |
history[-1][1] = ""
|
|
|
32 |
history = history or []
|
33 |
|
34 |
messages = system_message + \
|
35 |
+
"\n".join(["\n".join(["USER: "+item[0], "ASSISTANT: "+item[1]])
|
36 |
for item in history])
|
37 |
|
38 |
history[-1][1] = ""
|