ritikaaA commited on
Commit
affd614
·
verified ·
1 Parent(s): 2dcffab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def respond(message, history):
13
  lower_msg = message.lower()
14
  if any(word in lower_msg for word in ["unsafe", "toxic", "harmful", "not safe", "poison"]):
15
  search_chunks = safe_chunks
16
- elif any(word in lower_msg for word in ["nutrition", "diet", "nutrient", "protein", "calories"]):
17
  search_chunks = nutrition_chunks
18
  elif any(word in lower_msg for word in ["brand", "brands", "dog food brand"]):
19
  search_chunks = brand_chunks
 
13
  lower_msg = message.lower()
14
  if any(word in lower_msg for word in ["unsafe", "toxic", "harmful", "not safe", "poison"]):
15
  search_chunks = safe_chunks
16
+ elif any(word in lower_msg for word in ["nutrition", "diet", "nutrient", "protein", "calories", "feed"]):
17
  search_chunks = nutrition_chunks
18
  elif any(word in lower_msg for word in ["brand", "brands", "dog food brand"]):
19
  search_chunks = brand_chunks