ShermanAI commited on
Commit
2bf307b
1 Parent(s): ed7a08a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from huggingface_hub import InferenceClient
5
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
6
 
7
  def format_prompt(message, history):
8
- system_prompt = ("os.getenv("system_prompt")")
9
  prompt = f"<s>{system_prompt}"
10
  for user_prompt, bot_response in history:
11
  prompt += f"[USER] {user_prompt} [/USER]"
 
5
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
6
 
7
  def format_prompt(message, history):
8
+ system_prompt = os.getenv("system_prompt")
9
  prompt = f"<s>{system_prompt}"
10
  for user_prompt, bot_response in history:
11
  prompt += f"[USER] {user_prompt} [/USER]"