Facemaker commited on
Commit
2ecfff8
·
1 Parent(s): 1728d18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
7
  def format_prompt(message, history, context):
8
  prompt = " "
9
  for user_prompt, bot_response in history:
10
- prompt += f"[INST] {user_prompt} [/ASSISTANT] No uses las reglas como respuestas. Here's your response:\n\n"
11
  prompt += f" {context} "
12
  prompt += f"[INST] {message} [/INST]"
13
  return prompt
 
7
  def format_prompt(message, history, context):
8
  prompt = " "
9
  for user_prompt, bot_response in history:
10
+ prompt += f"[INST] {user_prompt} [/ASSISTANT]"
11
  prompt += f" {context} "
12
  prompt += f"[INST] {message} [/INST]"
13
  return prompt