nagasurendra commited on
Commit
eb9be14
·
verified ·
1 Parent(s): ca21363

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -507,7 +507,7 @@ def menu():
507
 
508
 
509
  # Define the order of sections, adding "Best Sellers" at the top
510
- section_order = ["Best Sellers", "Starters","Biryanis","Curries","Breads","Apetizer", "Desserts", "Soft Drinks"]
511
  ordered_menu = {section: [] for section in section_order}
512
  # Sort items by Total_Ordered__c in descending order and pick top 4 as best sellers
513
  best_sellers = sorted(food_items, key=lambda x: x.get("Total_Ordered__c", 0), reverse=True)
 
507
 
508
 
509
  # Define the order of sections, adding "Best Sellers" at the top
510
+ section_order = ["Best Sellers", "Starters","Biryanis","Curries","Breads","Customized dish","Apetizer", "Desserts", "Soft Drinks"]
511
  ordered_menu = {section: [] for section in section_order}
512
  # Sort items by Total_Ordered__c in descending order and pick top 4 as best sellers
513
  best_sellers = sorted(food_items, key=lambda x: x.get("Total_Ordered__c", 0), reverse=True)