Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def format_prompt(message, history):
|
|
11 |
# Iterates through every past user input and response to be added to the prompt
|
12 |
for user_prompt, bot_response in history:
|
13 |
prompt += prompt_template.format(user_prompt)
|
14 |
-
prompt += f" {bot_response}</s> "
|
15 |
|
16 |
prompt += prompt_template.format(message)
|
17 |
return prompt
|
|
|
11 |
# Iterates through every past user input and response to be added to the prompt
|
12 |
for user_prompt, bot_response in history:
|
13 |
prompt += prompt_template.format(user_prompt)
|
14 |
+
prompt += f" {bot_response} </s> "
|
15 |
|
16 |
prompt += prompt_template.format(message)
|
17 |
return prompt
|