Omnibus commited on
Commit
a40ed41
1 Parent(s): c371eda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def load_models(inp):
29
  return gr.update(label=models[inp])
30
 
31
  def format_prompt(message, history, cust_p):
32
- prompt = "<bos>"
33
  if history:
34
  for user_prompt, bot_response in history:
35
  prompt += f"<start_of_turn>user{user_prompt}<end_of_turn>"
 
29
  return gr.update(label=models[inp])
30
 
31
  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>"