Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def get_ingredients():
|
|
| 48 |
soql = "SELECT Name, Image_URL__c FROM Sector_Detail__c WHERE Category__c IN ('Veg', 'Both') LIMIT 200"
|
| 49 |
elif dietary_preference == 'non-vegetarian':
|
| 50 |
print("Fetching ingredients for Non-Vegetarian...") # Debug when fetching non-vegetarian ingredients
|
| 51 |
-
soql = "SELECT Name, Image_URL__c FROM Sector_Detail__c WHERE Category__c IN ('Non-Veg'
|
| 52 |
|
| 53 |
else:
|
| 54 |
print("Invalid dietary preference received.") # Debug for invalid dietary preference
|
|
|
|
| 48 |
soql = "SELECT Name, Image_URL__c FROM Sector_Detail__c WHERE Category__c IN ('Veg', 'Both') LIMIT 200"
|
| 49 |
elif dietary_preference == 'non-vegetarian':
|
| 50 |
print("Fetching ingredients for Non-Vegetarian...") # Debug when fetching non-vegetarian ingredients
|
| 51 |
+
soql = "SELECT Name, Image_URL__c FROM Sector_Detail__c WHERE Category__c IN ('Non-Veg') LIMIT 200"
|
| 52 |
|
| 53 |
else:
|
| 54 |
print("Invalid dietary preference received.") # Debug for invalid dietary preference
|