nagasurendra commited on
Commit
e255a05
·
verified ·
1 Parent(s): a0e74b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def get_ingredients():
45
 
46
  if dietary_preference == 'veg':
47
  print("Fetching ingredients for Vegetarian...") # Debug when fetching vegetarian 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') LIMIT 200"
 
45
 
46
  if dietary_preference == 'veg':
47
  print("Fetching ingredients for Vegetarian...") # Debug when fetching vegetarian ingredients
48
+ soql = "SELECT Name, Image_URL__c FROM Sector_Detail__c WHERE Category__c IN ('Veg') 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"