Omnibus commited on
Commit
36b00d3
1 Parent(s): a40ed41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)