Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,7 @@ def reply_bot(message, history):
|
|
128 |
curr_prompt = system_prompt + message + " [/INST]"
|
129 |
if len(history) != 0:
|
130 |
for human, ai in history:
|
131 |
-
system_prompt += human + " [/INST]" + ai + "
|
132 |
|
133 |
curr_prompt = system_prompt + message + " [/INST]"
|
134 |
else:
|
|
|
128 |
curr_prompt = system_prompt + message + " [/INST]"
|
129 |
if len(history) != 0:
|
130 |
for human, ai in history:
|
131 |
+
system_prompt += human + " [/INST]" + ai + "<s>[INST]\n"
|
132 |
|
133 |
curr_prompt = system_prompt + message + " [/INST]"
|
134 |
else:
|