Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ history = []
|
|
| 22 |
|
| 23 |
|
| 24 |
def generate_text(message, history):
|
| 25 |
-
|
| 26 |
# input_prompt = f"[INST] <<SYS>>\n{system_message}\n<</SYS>>\n\n "
|
| 27 |
# for interaction in history:
|
| 28 |
# input_prompt = input_prompt + str(interaction[0]) + " [/INST] " + str(interaction[1]) + " </s><s> [INST] "
|
|
|
|
| 22 |
|
| 23 |
|
| 24 |
def generate_text(message, history):
|
| 25 |
+
temp = ""
|
| 26 |
# input_prompt = f"[INST] <<SYS>>\n{system_message}\n<</SYS>>\n\n "
|
| 27 |
# for interaction in history:
|
| 28 |
# input_prompt = input_prompt + str(interaction[0]) + " [/INST] " + str(interaction[1]) + " </s><s> [INST] "
|