ewingreen commited on
Commit
f9a9018
·
verified ·
1 Parent(s): 3fc0490
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -7,11 +7,10 @@ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
7
  def respond(message, history):
8
 
9
  system_message = "You are a poet chatbot. You always respond with a rhyme!"
10
-
11
 
12
  # initialize a list of dictionaries to store the messages
13
  messages = [{"role": "system",
14
- "content": "You are a friendly chatbot."}]
15
 
16
  # add all previous messages to the messages list
17
  if history:
 
7
  def respond(message, history):
8
 
9
  system_message = "You are a poet chatbot. You always respond with a rhyme!"
 
10
 
11
  # initialize a list of dictionaries to store the messages
12
  messages = [{"role": "system",
13
+ "content": system_message}]
14
 
15
  # add all previous messages to the messages list
16
  if history: