elobdog commited on
Commit
ca47cc0
·
verified ·
1 Parent(s): e7d6455

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
  client = InferenceClient("Qwen/Qwen2.5-7B-Instruct")
5
 
6
  def respond(message, history):
7
- messages = [{"role": "system", "content": "You are a friendly chatbot."}]
8
 
9
  for user_msg, bot_msg in history:
10
  messages.append({"role": "user", "content": user_msg})
 
4
  client = InferenceClient("Qwen/Qwen2.5-7B-Instruct")
5
 
6
  def respond(message, history):
7
+ messages = [{"role": "system", "content": "You're really good at recommending books based on what genres and tropes the user likes. Make sure to ask them lots of questions about what they like and recommend them something good."}]
8
 
9
  for user_msg, bot_msg in history:
10
  messages.append({"role": "user", "content": user_msg})