Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ css = """.toast-wrap { display: none !important } """
|
|
16 |
|
17 |
def predict(message, chatbot):
|
18 |
|
19 |
-
input_prompt = f"[INST]<<SYS>>\n{system_message}\n<</SYS>>\n\n "
|
20 |
for interaction in chatbot:
|
21 |
input_prompt = input_prompt + str(interaction[0]) + " [/INST] " + str(interaction[1]) + " </s><s> [INST] "
|
22 |
|
|
|
16 |
|
17 |
def predict(message, chatbot):
|
18 |
|
19 |
+
input_prompt = f"[INST] <<SYS>>\n{system_message}\n<</SYS>>\n\n "
|
20 |
for interaction in chatbot:
|
21 |
input_prompt = input_prompt + str(interaction[0]) + " [/INST] " + str(interaction[1]) + " </s><s> [INST] "
|
22 |
|