broadfield commited on
Commit
adc6fa8
·
verified ·
1 Parent(s): 8d1c101

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,8 +9,9 @@ pp=PyPiper()
9
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
10
 
11
  def format_prompt(message, history):
12
- prompt = "<s>"
13
  if history:
 
 
14
  for user_prompt, bot_response in history:
15
  #print (bot_response)
16
  prompt += f"[INST] {user_prompt} [/INST]"
 
9
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
10
 
11
  def format_prompt(message, history):
 
12
  if history:
13
+ prompt = "<s>"
14
+
15
  for user_prompt, bot_response in history:
16
  #print (bot_response)
17
  prompt += f"[INST] {user_prompt} [/INST]"