lruizap commited on
Commit
70ee064
·
1 Parent(s): 613c19d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def useZephyr(prompt):
20
  "role": "system",
21
  "content": "you are a chatbot who always responds politely and in the shortest possible way",
22
  },
23
- {"role": "user", "content": prompt},
24
  ]
25
  # https://huggingface.co/docs/transformers/main/en/chat_templating
26
  prompt = pipe.tokenizer.apply_chat_template(
 
20
  "role": "system",
21
  "content": "you are a chatbot who always responds politely and in the shortest possible way",
22
  },
23
+ {"role": "user", "content": "{prompt}"},
24
  ]
25
  # https://huggingface.co/docs/transformers/main/en/chat_templating
26
  prompt = pipe.tokenizer.apply_chat_template(