TeahReichenbaum commited on
Commit
f92e17c
·
verified ·
1 Parent(s): 33dff06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
12
  def respond(message,history):
13
  messages = [{"role": "system", "content": "You are a friendly chatbot."}]
14
 
15
- if history:
16
  messages.extend(history)
17
  messages.append({"role":"user","content":messages})
18
 
 
12
  def respond(message,history):
13
  messages = [{"role": "system", "content": "You are a friendly chatbot."}]
14
 
15
+ if history:
16
  messages.extend(history)
17
  messages.append({"role":"user","content":messages})
18