Yaswanth56 commited on
Commit
eb54790
·
verified ·
1 Parent(s): 2c2958f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def get_ingredients():
41
  if dietary_preference == 'vegetable':
42
  logging.debug("Fetching ingredients for Vegetables...")
43
  soql = "SELECT Name, Image_URL__c FROM Sector_Detail__c WHERE Category__c IN ('Veg') LIMIT 200"
44
- elif dietary_preference in 'non-vegetarian':
45
  logging.debug(f"Fetching ingredients for Non-Vegetarian...")
46
  soql = "SELECT Name, Image_URL__c FROM Sector_Detail__c WHERE Category__c IN ('Non-Veg') LIMIT 200"
47
  else:
 
41
  if dietary_preference == 'vegetable':
42
  logging.debug("Fetching ingredients for Vegetables...")
43
  soql = "SELECT Name, Image_URL__c FROM Sector_Detail__c WHERE Category__c IN ('Veg') LIMIT 200"
44
+ elif dietary_preference == 'non-vegetarian':
45
  logging.debug(f"Fetching ingredients for Non-Vegetarian...")
46
  soql = "SELECT Name, Image_URL__c FROM Sector_Detail__c WHERE Category__c IN ('Non-Veg') LIMIT 200"
47
  else: