Janec09 commited on
Commit
1a63f98
·
verified ·
1 Parent(s): 1b0072c

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("Qwen/Qwen2.5-7B-Instruct-1M")
6
 
7
  def respond(message, history):
8
- messages = [{"role": "system", "content": "You are a mad chatbot."}]
9
  if history:
10
  messages.extend(history)
11
  messages.append({"role": "user", "content": message})
 
5
  client = InferenceClient("Qwen/Qwen2.5-7B-Instruct-1M")
6
 
7
  def respond(message, history):
8
+ messages = [{"role": "system", "content": "You are a friendly chatbot."}]
9
  if history:
10
  messages.extend(history)
11
  messages.append({"role": "user", "content": message})