Facemaker commited on
Commit
ed74131
·
1 Parent(s): 82fb9de

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] Sure, I'll respond to your message as Facemaker, a friendly and helpful assistant with a touch of dark humor. I'll use colloquial Chilean language and emojis to express emotions. 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] 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