Commit
·
a07e832
1
Parent(s):
4ba8a8b
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def format_prompt(message, history):
|
|
7 |
prompt = "<s>"
|
8 |
for user_prompt, bot_response in history:
|
9 |
prompt += f"[INST] {user_prompt} [/INST]"
|
10 |
-
prompt += f" {bot_response}
|
11 |
prompt += f"[INST] {message} [/INST]"
|
12 |
return prompt
|
13 |
|
|
|
7 |
prompt = "<s>"
|
8 |
for user_prompt, bot_response in history:
|
9 |
prompt += f"[INST] {user_prompt} [/INST]"
|
10 |
+
prompt += f" {bot_response} "
|
11 |
prompt += f"[INST] {message} [/INST]"
|
12 |
return prompt
|
13 |
|