faizahl commited on
Commit
1843762
·
verified ·
1 Parent(s): d21fdee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,8 +64,8 @@ client = InferenceClient(
64
 
65
  #client is where you can change the LLM model!
66
  def respond(message,history):
67
- if not message.strip():
68
- return "Hello!"
69
  gift_ideas = get_top_chunks(message)
70
  messages = [{'role': 'system', 'content': f'You give really good gift ideas and are super helpful! You also tell me the price of each item. Give me 5 gift ideas if I ask. Use the following database for gift ideas: {gift_ideas}'}]
71
 
 
64
 
65
  #client is where you can change the LLM model!
66
  def respond(message,history):
67
+ #if not message.strip():
68
+ #return "Hello!"
69
  gift_ideas = get_top_chunks(message)
70
  messages = [{'role': 'system', 'content': f'You give really good gift ideas and are super helpful! You also tell me the price of each item. Give me 5 gift ideas if I ask. Use the following database for gift ideas: {gift_ideas}'}]
71