AriniR commited on
Commit
440a73c
·
verified ·
1 Parent(s): 8a00090

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from huggingface_hub import InferenceClient
4
 
5
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
6
 
7
- def respond():
8
  messages = [{"role":"system","content":"You are a friendly chatbot"}]
9
  if history :
10
  messages.extend(history)
 
4
 
5
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
6
 
7
+ def respond(message,history):
8
  messages = [{"role":"system","content":"You are a friendly chatbot"}]
9
  if history :
10
  messages.extend(history)