nagasurendra commited on
Commit
b840b39
·
verified ·
1 Parent(s): 0b1a6ed

Update menu.py

Browse files
Files changed (1) hide show
  1. menu.py +1 -1
menu.py CHANGED
@@ -161,7 +161,7 @@ def fetch_menu_data(selected_category, user_email):
161
 
162
  # Get most common add-ons and instructions (top 3)
163
  most_common_addons = sorted(addon_counts, key=addon_counts.get, reverse=True)[:3]
164
- most_common_instructions = sorted(instruction_counts, key=instruction_counts.get, reverse=True)[:3]
165
  print(f"Most common add-ons: {most_common_addons}")
166
  print(f"Most common instructions: {most_common_instructions}")
167
 
 
161
 
162
  # Get most common add-ons and instructions (top 3)
163
  most_common_addons = sorted(addon_counts, key=addon_counts.get, reverse=True)[:3]
164
+ most_common_instructions = sorted(instruction_counts, key=instruction_counts.get, reverse=True)
165
  print(f"Most common add-ons: {most_common_addons}")
166
  print(f"Most common instructions: {most_common_instructions}")
167