tdurzynski commited on
Commit
0d93972
·
verified ·
1 Parent(s): d9a817f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +39 -37
app.py CHANGED
@@ -63,50 +63,52 @@ except Exception as e:
63
  else:
64
  st.stop()
65
 
66
- # Food Intellisense List
67
  FOOD_SUGGESTIONS = [
68
- "Apple", "Banana", "Pizza", "Burger", "Pasta", "Sushi", "Tacos", "Salad",
69
- "Chicken", "Fish", "Beef Steak", "Pork Chops", "Spaghetti Carbonara", "Lasagna",
70
- "Pad Thai", "Dim Sum", "Kimchi Fried Rice", "French Fries", "Eggs", "Green Beans",
71
- "Biryani", "Croissant", "Baguette", "Miso Soup", "Ramen", "Pierogi", "Gyoza", "Green Onion"
72
- "Schnitzel", "Creole Gumbo", "Jambalaya", "Tandoori Chicken", "Falafel", "Shawarma", "Red Pepper",
73
- "Pineapple", "Pear", "Mushrooms", "Ice Cream", "Calzone", "Ravioli", "Burrito", "Tostada", "Croissant",
74
- "Bear Claw", "Ginger Bread", "Cheesecake", "Goat Cheese", "Mozarella", "Tomato Soup", "Chicken Broth",
75
- "Shrimp", "Beer", "Wine (White)", "Wine (Red)", "Cabbage", "Lettuce", "Stuffed Cabbage", "Stuffed Pepper",
76
- "Stuffed Grapeleafs", "Wonton Soup", "Sour Rye Soup", "Cabbage Rolls", "Hunter's stew", "Pasta Carbonara",
77
- "Risotto alla Milanese", "Osso Buco", "Margherita Pizza", "Tiramisu", "Pasta Carbonara", "Coq au Vin", "Ratatouille",
78
- "Croque Monsieur", "Creme Brulee", "Peking Duck", "Mapo Tofu", "Xiaolongbao", "Soup Dumplings", "Kung Pao Chicken",
79
- "Chow Mein", "Tteokbokki", "Japchae", "Blini", "Beef Sroganoff", "Pelmeni", "Borscht", "Potato pancakes", "Poppy Seed Roll",
80
- "Bruschetta", "Focaccia", "Cannoli", "Sausage", "Arancini", "Quiche", "Macarons", "Dim Sum", "Mooncake", "Hot Pot", "Char Siu",
81
- "French Onion Soup", "Bossam", "Hoddeok", "Buckwheat", "Shashlik", "Meatloaf", "Pecan Pie", "Apple Pie", "Barbecue Ribs", "Buffalo Wings",
82
- "Mac and Cheese", "Burger", "Mansaf", "Kabsa", "Hummus", "Meat Patties", "Shawarma", "Challah", "Matzo Ball Soup", "Gefilte Fish",
83
- "Babka", "Kreplach", "Uszka", "Rugelach", "Goulash", "Layered Potato Casserole", "Flatbread", "Sponge Cake", "Beef Sirloin", "Duck",
84
- "Sauerkraut", "Pork Knuckle", "Potato Salad", "Soft Egg Noodles", "Pretzel", "Black Forest Cake", "Carrot Cake", "Lamb", "Saffron Rice",
85
- "Jasmine Rice", "Brown Rice", "Rich Stew", "Peas", "Corn", "Tamales", "Quesadillas", "Enchiladas", "Flan", "Fish Tacos", "Bean Buritto",
86
- "Sopes", "Chiles en Nogada", "Ceviche", "Onions", "Chili Sauce", "Beef Empanadas", "Chicken Empanadas", "Cheese Empanadas", "Seco de Chivo",
87
- "Fanesca", "Ceviche de Camaron", "Llapingachos", "Encebollado", "Shepherd's Pie", "Moussaka", "Gyros", "Souvlaki", "Beef Pho", "Banh Mi",
88
- "Butter Chicken", "Biryani", "Poutine", "Jollof Rice", "Katsu Curry", "Coxinha", "Shashuka", "Black Beans", "Chickpeas", "Garbanzo",
89
- "Cevapi", "Pljeskavica", "Ajvar", "Gibanica", "Sarma", "Banitsa", "Shopska Salad", "Kavarma", "Tarator", "Cucumber Soup", "Fruit Soup",
90
- "Eggplant", "Eggplant Spread", "Zeppelins", "Cold Beet Soup", "Panna Cotta", "T-bone Steak", "Ribolita", "Black Olives", "Green Fried Tomatoes",
91
- "Bistecca alla Fiorentina", "Veal", "Hot and Sour Soup", "Swwet and Sour Pork", "Kebabs", "Lentil Soup", "Tzatziki", "Fasolada", "Dolmades",
92
- "Pita Bread", "Brioche", "Rye Bread", "Wheat Bread", "Toast", "White Bean Soup", "Doughnuts", "Lemon", "Garlic", "Herbs", " Wiener Schnitzel",
93
- "Sachertorte", "Apfelstrudel", "Marzipan", "Nougat Candies", "Paella", "Gazpacho", "Lobster", "Fish and Chips", "Crab Cakes", "Salmon", "Tilapia",
94
- "Mahi Mahi", "{Teriyaki", "Tuna Steak", "Clams", "Oysters", "Filet Mignon", "New York Strip Steak", "Chimichirri Steak", "Creamy Mushroom Risotto",
95
- "Stuffed Mushrooms", "Portobello Mushrooms", "Mushroom Soup", "Wild Mushroom Pasta", "Mushroom Pizza", "Seafood Pasta", "Pepperoni Pizza",
96
- "Hawaiian Pizza", "Meat Lover's Pizza", "Veggie Pizza", "Four Cheese Pizza", "White Pizza", "Neapolitan Pizza", "BBQ Chicken Pizza",
97
- "Supreme Pizza", "Texas Style Brisket", "Pulled Pork", "BBQ Ribs", "Chicken Wings", "Onion Rings", "BBQ Chicken", "Corn on the Cob", "Ribeye Steak",
98
- "Lamb Chops", "Shrimp Skewers", "Swordfish Steak", "Baklava", "Gulab Jamun", "Fresh Fruit", "Pavlova", "Faworki", "Angel Wings", "Kutia", "Kisiel",
99
- "Pudding", "Mazurek", "Kremowka", "Custard Cake", "Szarlotka", "Napoleon Cake", "Vareniki"
100
- ] # Extended with diverse cuisines
 
 
 
101
 
102
  # Unit options for food weight/volume
103
  UNIT_OPTIONS = ["grams", "ounces", "teaspoons", "tablespoons", "cups", "slices", "pieces"]
104
 
105
  # Cooking methods
106
  COOKING_METHODS = [
107
- "Baked", "Boiled", "Broiled", "Fried", "Grilled", "Microwaved", "Deep-fried", "Creamy", "Smoked", "Dried", "Braised", "Slow-cooked",
108
- "Pan-seared", "Poached", "Raw", "Roasted", "Sautéed", "Steamed", "Marinated", "Grilled minced",
109
- "Stewed", "Stir-fried", "Takeout/Restaurant", "Breaded and fried", "Unknown"
110
  ]
111
 
112
  # Helper functions
 
63
  else:
64
  st.stop()
65
 
 
66
  FOOD_SUGGESTIONS = [
67
+ "Angel Wings", "Apple", "Apple Pie", "Apfelstrudel", "Arancini", "Ajvar", "Babka", "Baguette", "Baklava",
68
+ "Banana", "Banh Mi", "Banitsa", "Barbecue Ribs", "BBQ Chicken", "BBQ Chicken Pizza", "BBQ Ribs", "Bean Buritto",
69
+ "Bear Claw", "Beef Empanadas", "Beef Pho", "Beef Sirloin", "Beef Sroganoff", "Beer", "Biryani", "Bistecca alla Fiorentina",
70
+ "Black Beans", "Black Forest Cake", "Black Olives", "Blini", "Borscht", "Bossam", "Brioche", "Brown Rice",
71
+ "Bruschetta", "Buckwheat", "Buffalo Wings", "Burger", "Burrito", "Butter Chicken", "Cabbage",
72
+ "Cabbage Rolls", "Calzone", "Cannoli", "Carrot Cake", "Cevapi", "Ceviche", "Ceviche de Camaron",
73
+ "Challah", "Char Siu", "Cheese Empanadas", "Cheesecake", "Chicken", "Chicken Broth", "Chicken Empanadas",
74
+ "Chicken Wings", "Chickpeas", "Chiles en Nogada", "Chili Sauce", "Chimichirri Steak", "Chow Mein",
75
+ "Clams", "Cold Beet Soup", "Corn", "Corn on the Cob", "Coxinha", "Crab Cakes", "Creamy Mushroom Risotto",
76
+ "Creme Brulee", "Creole Gumbo", "Croissant", "Croque Monsieur", "Cucumber Soup", "Deep-fried",
77
+ "Dim Sum", "Dolmades", "Doughnuts", "Duck", "Eggplant", "Eggplant Spread", "Eggs", "Enchiladas",
78
+ "Encebollado", "Falafel", "Fanesca", "Fasolada", "Faworki", "Filet Mignon", "Fish", "Fish and Chips",
79
+ "Fish Tacos", "Flatbread", "Flan", "Focaccia", "Four Cheese Pizza", "French Fries", "French Onion Soup",
80
+ "Fresh Fruit", "Fruit Soup", "Garbanzo", "Garlic", "Gazpacho", "Gefilte Fish", "Gibanica", "Ginger Bread",
81
+ "Goat Cheese", "Goulash", "Green Beans", "Green Fried Tomatoes", "Green Onion", "Gyoza", "Gyros", "Hawaiian Pizza",
82
+ "Herbs", "Hoddeok", "Hot and Sour Soup", "Hot Pot", "Hummus", "Hunter's stew", "Ice Cream", "Japchae",
83
+ "Jasmine Rice", "Jollof Rice", "Kabsa", "Katsu Curry", "Kavarma", "Kebabs", "Kimchi Fried Rice", "Kisiel",
84
+ "Kremowka", "Kreplach", "Kung Pao Chicken", "Kutia", "Lamb", "Lamb Chops", "Lasagna", "Layered Potato Casserole",
85
+ "Lemon", "Lentil Soup", "Lettuce", "Llapingachos", "Lobster", "Mac and Cheese", "Macarons", "Mahi Mahi",
86
+ "Mansaf", "Mapo Tofu", "Margherita Pizza", "Marinated", "Marzipan", "Matzo Ball Soup", "Mazurek", "Meat Lover's Pizza",
87
+ "Meat Patties", "Meatloaf", "Miso Soup", "Mooncake", "Moussaka", "Mozarella", "Mushroom Pizza", "Mushroom Soup",
88
+ "Mushrooms", "Napoleon Cake", "Neapolitan Pizza", "New York Strip Steak", "Nougat Candies", "Onion Rings", "Onions",
89
+ "Osso Buco", "Oysters", "Pad Thai", "Paella", "Panna Cotta", "Pasta", "Pasta Carbonara", "Pavlova",
90
+ "Peas", "Pecan Pie", "Peking Duck", "Pelmeni", "Pepperoni Pizza", "Pierogi", "Pineapple", "Pita Bread",
91
+ "Pizza", "Pljeskavica", "Pork Chops", "Pork Knuckle", "Portobello Mushrooms", "Potato pancakes", "Potato Salad",
92
+ "Poutine", "Poppy Seed Roll", "Pulled Pork", "Pudding", "Quesadillas", "Quiche", "Ramen", "Ratatouille",
93
+ "Ravioli", "Red Pepper", "Ribeye Steak", "Ribolita", "Rich Stew", "Risotto alla Milanese", "Rugelach", "Rye Bread",
94
+ "Sachertorte", "Saffron Rice", "Salad", "Salmon", "Sarma", "Sausage", "Sauerkraut", "Seafood Pasta",
95
+ "Seco de Chivo", "Shashlik", "Shashuka", "Shawarma", "Shepherd's Pie", "Shopska Salad", "Shrimp", "Shrimp Skewers",
96
+ "Soft Egg Noodles", "Sopes", "Soup Dumplings", "Sour Rye Soup", "Souvlaki", "Spaghetti Carbonara", "Sponge Cake",
97
+ "Stuffed Cabbage", "Stuffed Grapeleafs", "Stuffed Mushrooms", "Stuffed Pepper", "Supreme Pizza", "Sushi", "Swwet and Sour Pork",
98
+ "Swordfish Steak", "Szarlotka", "T-bone Steak", "Tacos", "Tamales", "Tandoori Chicken", "{Teriyaki", "Tarator",
99
+ "Texas Style Brisket", "Tilapia", "Tiramisu", "Toast", "Tomato Soup", "Tostada", "Tteokbokki", "Tuna Steak",
100
+ "Tzatziki", "Uszka", "Vareniki", "Veal", "Veggie Pizza", "Wheat Bread", "White Bean Soup", "White Pizza",
101
+ "Wiener Schnitzel", "Wild Mushroom Pasta", "Wine (Red)", "Wine (White)", "Wonton Soup", "Xiaolongbao", "Zeppelins"
102
+ ] # Alphabetically sorted list of diverse cuisines
103
 
104
  # Unit options for food weight/volume
105
  UNIT_OPTIONS = ["grams", "ounces", "teaspoons", "tablespoons", "cups", "slices", "pieces"]
106
 
107
  # Cooking methods
108
  COOKING_METHODS = [
109
+ "Baked", "Boiled", "Braised", "Breaded and fried", "Broiled", "Creamy", "Deep-fried", "Dried",
110
+ "Fried", "Grilled", "Grilled minced", "Marinated", "Microwaved", "Pan-seared", "Poached", "Raw",
111
+ "Roasted", "Sautéed", "Slow-cooked", "Smoked", "Steamed", "Stewed", "Stir-fried", "Takeout/Restaurant", "Unknown"
112
  ]
113
 
114
  # Helper functions