Spaces:
Runtime error
Runtime error
Commit
·
96c2526
1
Parent(s):
f33dc3d
Update app.py (#5)
Browse files- Update app.py (06b82ab70e31cd6bbad70e2c13abf53d11aebe2f)
Co-authored-by: Nicolas Patry <[email protected]>
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 |
|