Tomoniai commited on
Commit
89d1b8c
·
1 Parent(s): 69f75d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
5
 
6
  def format_prompt(message, history):
7
- prompt = "<|system|>\nYou are a gentle and very helpful AI assistant.</s>\n"
8
  for user_prompt, bot_response in history:
9
  prompt += f"<|user|>\n {user_prompt} </s>\n"
10
  prompt += f"<|assistant|>\n {bot_response} \n</s>\n "
 
4
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
5
 
6
  def format_prompt(message, history):
7
+ prompt = "<|system|>\n</s>\n"
8
  for user_prompt, bot_response in history:
9
  prompt += f"<|user|>\n {user_prompt} </s>\n"
10
  prompt += f"<|assistant|>\n {bot_response} \n</s>\n "