Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def format_prompt(message, history, cust_p):
|
|
| 32 |
prompt = ""
|
| 33 |
if history:
|
| 34 |
for user_prompt, bot_response in history:
|
| 35 |
-
prompt += f"<start_of_turn>user{user_prompt}<end_of_turn>"
|
| 36 |
prompt += f"<start_of_turn>model{bot_response}<end_of_turn>"
|
| 37 |
if VERBOSE==True:
|
| 38 |
print(prompt)
|
|
|
|
| 32 |
prompt = ""
|
| 33 |
if history:
|
| 34 |
for user_prompt, bot_response in history:
|
| 35 |
+
prompt += f"<bos><start_of_turn>user{user_prompt}<end_of_turn>"
|
| 36 |
prompt += f"<start_of_turn>model{bot_response}<end_of_turn>"
|
| 37 |
if VERBOSE==True:
|
| 38 |
print(prompt)
|