Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|