pranit144 commited on
Commit
85eaccd
·
verified ·
1 Parent(s): 2dc4738

Upload 3 files

Browse files
Files changed (3) hide show
  1. app.py +224 -0
  2. edi-4data.csv +395 -0
  3. templates/index.html +297 -0
app.py ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from flask import Flask, render_template, request
2
+ import pandas as pd
3
+ import numpy as np
4
+ import plotly.graph_objects as go
5
+
6
+ app = Flask(__name__)
7
+
8
+ # Load the diet data
9
+ diet_df = pd.read_csv("edi-4data.csv")
10
+
11
+ # Diet category mapping
12
+ diet_category_map = {1: "underweight", 2: "normal", 3: "overweight", 4: "obese", 5: "extremely obese"}
13
+
14
+ # Replace missing values if any
15
+ diet_df.fillna(0, inplace=True)
16
+
17
+
18
+ def split_calorie_intake(total_calories):
19
+ breakfast_calories = total_calories * 0.3
20
+ lunch_calories = total_calories * 0.4
21
+ dinner_calories = total_calories * 0.3
22
+ return breakfast_calories, lunch_calories, dinner_calories
23
+
24
+
25
+ def generate_meal_options(df, calories):
26
+ meal_options = df.sample(frac=1).reset_index(drop=True)
27
+ total_calories = meal_options['Calories (kcal)'].sum()
28
+
29
+ while total_calories > calories + 200 or total_calories < calories - 200:
30
+ if total_calories > calories + 200:
31
+ meal_options = meal_options.iloc[:-1]
32
+ elif total_calories < calories - 200:
33
+ meal_options = pd.concat([meal_options, df.sample()])
34
+ total_calories = meal_options['Calories (kcal)'].sum()
35
+
36
+ return meal_options
37
+
38
+
39
+ def optimize_meal(meal_df, target_calories):
40
+ meal_df = meal_df.sort_values(by='Calories (kcal)', ascending=False)
41
+ selected_items = []
42
+ remaining_calories = target_calories
43
+
44
+ for index, row in meal_df.iterrows():
45
+ if remaining_calories >= row['Calories (kcal)']:
46
+ selected_items.append(index)
47
+ remaining_calories -= row['Calories (kcal)']
48
+
49
+ if remaining_calories > 0:
50
+ nearest_solution = None
51
+ nearest_difference = float('inf')
52
+ for index, row in meal_df.iterrows():
53
+ if index not in selected_items:
54
+ difference = abs(row['Calories (kcal)'] - remaining_calories)
55
+ if difference < nearest_difference:
56
+ nearest_solution = index
57
+ nearest_difference = difference
58
+
59
+ if nearest_solution is not None:
60
+ selected_items.append(nearest_solution)
61
+
62
+ return meal_df.loc[selected_items]
63
+
64
+
65
+ def generate_diet_chart(user_data, df):
66
+ temp_df = df.copy()
67
+
68
+ # Filter for vegetarian if needed
69
+ if user_data['dietary_preference'] == 'veg':
70
+ temp_df = temp_df[temp_df['veg/nonveg'] == 1]
71
+
72
+ # Remove foods with allergens/diseases mentioned
73
+ if user_data['allergies_diseases']:
74
+ allergies = user_data['allergies_diseases'].split(',')
75
+ for allergy in allergies:
76
+ temp_df = temp_df[~temp_df['Food Item'].str.contains(allergy.strip(), case=False, na=False)]
77
+
78
+ # Split the new calorie intake into meals
79
+ breakfast_calories, lunch_calories, dinner_calories = split_calorie_intake(user_data['new_calorie_intake'])
80
+
81
+ breakfast_options = generate_meal_options(temp_df, breakfast_calories)
82
+ lunch_options = generate_meal_options(temp_df, lunch_calories)
83
+ dinner_options = generate_meal_options(temp_df, dinner_calories)
84
+
85
+ breakfast_df = optimize_meal(breakfast_options, breakfast_calories)
86
+ lunch_df = optimize_meal(lunch_options, lunch_calories)
87
+ dinner_df = optimize_meal(dinner_options, dinner_calories)
88
+
89
+ return breakfast_df, lunch_df, dinner_df
90
+
91
+
92
+ @app.route("/", methods=["GET", "POST"])
93
+ def index():
94
+ results = None
95
+ if request.method == "POST":
96
+ # Get user input from the form
97
+ user_gender = request.form.get("user_gender")
98
+ user_gender_value = 0 if user_gender == "Male" else 1
99
+ user_height = float(request.form.get("user_height"))
100
+ user_weight = float(request.form.get("user_weight"))
101
+ user_age = int(request.form.get("user_age"))
102
+ allergies_diseases = request.form.get("allergies_diseases", "").strip().lower()
103
+ dietary_preference = request.form.get("dietary_preference", "").strip().lower()
104
+ activity_level = int(request.form.get("activity_level"))
105
+
106
+ # Calculate BMI
107
+ bmi = user_weight / ((user_height / 100) ** 2)
108
+
109
+ # Dummy prediction for BMI category
110
+ if bmi < 18.5:
111
+ predicted_category = 1 # Underweight
112
+ elif bmi < 25:
113
+ predicted_category = 2 # Normal weight
114
+ elif bmi < 30:
115
+ predicted_category = 3 # Overweight
116
+ elif bmi < 35:
117
+ predicted_category = 4 # Obese
118
+ else:
119
+ predicted_category = 5 # Extremely Obese
120
+
121
+ # Calculate initial calorie intake using the Mifflin-St Jeor equation
122
+ initial_calorie_intake = 10 * user_weight + 6.25 * user_height - 5 * user_age + (5 if user_gender_value == 0 else -161)
123
+
124
+ # Adjust calorie intake based on BMI category
125
+ if predicted_category == 1: # Underweight
126
+ normal_bmi_calories = 18 * ((user_height / 100) ** 2)
127
+ new_calorie_intake = initial_calorie_intake + normal_bmi_calories + 650
128
+ calorie_adjustment = normal_bmi_calories
129
+ elif predicted_category in [3, 4]: # Overweight or Obese
130
+ normal_bmi_calories = 25 * ((user_height / 100) ** 2)
131
+ new_calorie_intake = initial_calorie_intake - normal_bmi_calories + 200
132
+ calorie_adjustment = normal_bmi_calories
133
+ else:
134
+ calorie_adjustment = 0
135
+ new_calorie_intake = initial_calorie_intake + calorie_adjustment + 350
136
+
137
+ user_data = {
138
+ 'bmi': round(bmi, 2),
139
+ 'body_category': diet_category_map[predicted_category],
140
+ 'initial_calorie_intake': round(initial_calorie_intake, 2),
141
+ 'calorie_adjustment': calorie_adjustment,
142
+ 'new_calorie_intake': round(new_calorie_intake, 2),
143
+ 'allergies_diseases': allergies_diseases,
144
+ 'dietary_preference': dietary_preference,
145
+ 'activity_level': activity_level,
146
+ 'age': user_age
147
+ }
148
+
149
+ # Generate diet chart for breakfast, lunch, and dinner
150
+ breakfast_df, lunch_df, dinner_df = generate_diet_chart(user_data, diet_df)
151
+
152
+ # Generate Plotly chart for calorie distribution among meals
153
+ meal_labels = ['Breakfast', 'Lunch', 'Dinner']
154
+ calorie_values = [
155
+ breakfast_df['Calories (kcal)'].sum(),
156
+ lunch_df['Calories (kcal)'].sum(),
157
+ dinner_df['Calories (kcal)'].sum()
158
+ ]
159
+ fig_cal = go.Figure(data=[go.Bar(x=meal_labels, y=calorie_values, marker_color=['blue', 'green', 'orange'])])
160
+ fig_cal.update_layout(title_text='Calorie Distribution Among Meals',
161
+ xaxis_title='Meal', yaxis_title='Calories (kcal)')
162
+ calorie_chart = fig_cal.to_html(full_html=False)
163
+
164
+ # Generate Plotly chart for nutrient distribution across meals
165
+ nutrient_labels = ['Protein', 'Carbohydrates', 'Fats']
166
+ breakfast_nutrients = [
167
+ breakfast_df['Protein (g)'].sum(),
168
+ breakfast_df['Carbohydrates(g)'].sum(),
169
+ breakfast_df['Fats (g)'].sum()
170
+ ]
171
+ lunch_nutrients = [
172
+ lunch_df['Protein (g)'].sum(),
173
+ lunch_df['Carbohydrates(g)'].sum(),
174
+ lunch_df['Fats (g)'].sum()
175
+ ]
176
+ dinner_nutrients = [
177
+ dinner_df['Protein (g)'].sum(),
178
+ dinner_df['Carbohydrates(g)'].sum(),
179
+ dinner_df['Fats (g)'].sum()
180
+ ]
181
+ fig_nutrient = go.Figure(data=[
182
+ go.Bar(name='Breakfast', x=nutrient_labels, y=breakfast_nutrients),
183
+ go.Bar(name='Lunch', x=nutrient_labels, y=lunch_nutrients),
184
+ go.Bar(name='Dinner', x=nutrient_labels, y=dinner_nutrients)
185
+ ])
186
+ fig_nutrient.update_layout(barmode='group', title='Nutrient Distribution Across Meals',
187
+ xaxis_title='Nutrients', yaxis_title='Quantity (g)')
188
+ nutrient_chart = fig_nutrient.to_html(full_html=False)
189
+
190
+ # Convert dataframes to dictionary records for easy templating
191
+ breakfast_records = breakfast_df.to_dict(orient='records')
192
+ lunch_records = lunch_df.to_dict(orient='records')
193
+ dinner_records = dinner_df.to_dict(orient='records')
194
+
195
+ results = {
196
+ 'bmi': round(bmi, 2),
197
+ 'body_category': diet_category_map[predicted_category],
198
+ 'initial_calorie_intake': round(initial_calorie_intake, 2),
199
+ 'new_calorie_intake': round(new_calorie_intake, 2),
200
+ 'age': user_age,
201
+ 'breakfast': breakfast_records,
202
+ 'breakfast_total_calories': breakfast_df['Calories (kcal)'].sum(),
203
+ 'breakfast_total_protein': breakfast_df['Protein (g)'].sum(),
204
+ 'breakfast_total_carbs': breakfast_df['Carbohydrates(g)'].sum(),
205
+ 'breakfast_total_fats': breakfast_df['Fats (g)'].sum(),
206
+ 'lunch': lunch_records,
207
+ 'lunch_total_calories': lunch_df['Calories (kcal)'].sum(),
208
+ 'lunch_total_protein': lunch_df['Protein (g)'].sum(),
209
+ 'lunch_total_carbs': lunch_df['Carbohydrates(g)'].sum(),
210
+ 'lunch_total_fats': lunch_df['Fats (g)'].sum(),
211
+ 'dinner': dinner_records,
212
+ 'dinner_total_calories': dinner_df['Calories (kcal)'].sum(),
213
+ 'dinner_total_protein': dinner_df['Protein (g)'].sum(),
214
+ 'dinner_total_carbs': dinner_df['Carbohydrates(g)'].sum(),
215
+ 'dinner_total_fats': dinner_df['Fats (g)'].sum(),
216
+ 'calorie_chart': calorie_chart,
217
+ 'nutrient_chart': nutrient_chart
218
+ }
219
+
220
+ return render_template("index.html", results=results)
221
+
222
+
223
+ if __name__ == '__main__':
224
+ app.run(debug=True,port=5265)
edi-4data.csv ADDED
@@ -0,0 +1,395 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Food Item,Quantity,Calories (kcal),Protein (g),Carbohydrates(g),Fats (g),Breakfast,Lunch,Dinner,veg/nonveg
2
+ Rajma Chawal,1.0,450.0,22.5,55.0,17.5,0.0,1.0,1.0,1.0
3
+ Butter Chicken,1.0,350.0,22.5,12.5,17.5,0.0,1.0,1.0,0.0
4
+ Dosa,1.0,125.0,3.5,22.5,3.5,1.0,0.0,0.0,1.0
5
+ Paneer Tikka,1.0,175.0,12.5,3.5,12.5,0.0,1.0,1.0,1.0
6
+ Samosa,1.0,175.0,7.5,17.5,12.5,1.0,0.0,0.0,1.0
7
+ Chole Bhature,1.0,450.0,12.5,55.0,17.5,1.0,0.0,0.0,1.0
8
+ Pani Puri,6.0,175.0,3.5,35.0,7.5,1.0,0.0,0.0,1.0
9
+ Idli,2.0,125.0,7.5,22.5,3.5,1.0,0.0,0.0,1.0
10
+ Chicken Tikka,1.0,175.0,22.5,3.5,7.5,0.0,1.0,1.0,0.0
11
+ Gulab Jamun,2.0,225.0,7.5,35.0,12.5,0.0,0.0,1.0,1.0
12
+ Prawn Curry,1.0,225.0,17.5,7.5,12.5,0.0,1.0,1.0,0.0
13
+ Masala Dosa,1.0,225.0,7.5,45.0,7.5,1.0,0.0,0.0,1.0
14
+ Chicken Biryani,1.0,450.0,22.5,55.0,17.5,0.0,1.0,1.0,0.0
15
+ Pav Bhaji,1.0,350.0,12.5,55.0,12.5,1.0,0.0,0.0,1.0
16
+ Malai Kofta,1.0,225.0,7.5,22.5,12.5,0.0,1.0,1.0,1.0
17
+ Rasgulla,1.0,125.0,3.5,22.5,3.5,0.0,0.0,1.0,1.0
18
+ Tandoori Roti,3.0,350.0,5.0,45.0,5.0,0.0,1.0,1.0,1.0
19
+ Chicken Curry,1.0,350.0,22.5,12.5,17.5,0.0,1.0,1.0,0.0
20
+ Masala Papad,1.0,60.0,3.5,7.5,3.5,0.0,1.0,1.0,1.0
21
+ Aloo Paratha,1.0,225.0,7.5,35.0,12.5,1.0,1.0,0.0,1.0
22
+ Vegetable Biryani,1.0,350.0,12.5,45.0,12.5,0.0,1.0,1.0,1.0
23
+ Prawn Fry,1.0,225.0,17.5,7.5,12.5,0.0,1.0,1.0,0.0
24
+ Rasmalai,1.0,125.0,7.5,17.5,7.5,0.0,0.0,1.0,1.0
25
+ Gobi Manchurian,1.0,225.0,7.5,22.5,12.5,1.0,0.0,0.0,1.0
26
+ Chicken Korma,1.0,350.0,22.5,7.5,17.5,0.0,1.0,1.0,0.0
27
+ Onion Pakoda,1.0,225.0,7.5,22.5,12.5,1.0,0.0,0.0,1.0
28
+ Pesarattu,1.0,175.0,7.5,35.0,3.5,1.0,0.0,0.0,1.0
29
+ Chicken 65,1.0,225.0,17.5,3.5,12.5,1.0,0.0,0.0,0.0
30
+ Mysore Pak,1.0,125.0,3.5,22.5,7.5,0.0,1.0,1.0,1.0
31
+ Roti,3.0,245.0,5.0,27.5,5.0,0.0,1.0,1.0,1.0
32
+ Palak Paneer,1.0,225.0,12.5,12.5,12.5,0.0,1.0,1.0,1.0
33
+ Chicken Fried Rice,1.0,350.0,22.5,35.0,12.5,0.0,1.0,1.0,0.0
34
+ Aloo Tikki,1.0,60.0,3.5,12.5,3.5,1.0,0.0,0.0,1.0
35
+ Mutton Biryani,1.0,450.0,22.5,55.0,17.5,0.0,1.0,1.0,0.0
36
+ Chicken Shawarma,1.0,350.0,22.5,35.0,17.5,0.0,0.0,1.0,0.0
37
+ Ghee Rice,1.0,350.0,3.5,55.0,12.5,0.0,1.0,1.0,1.0
38
+ Veg Pulao,1.0,225.0,7.5,45.0,7.5,0.0,1.0,1.0,1.0
39
+ Chicken Lollipop,1.0,225.0,17.5,3.5,12.5,1.0,0.0,0.0,0.0
40
+ Mutton Curry,1.0,350.0,17.5,12.5,17.5,0.0,1.0,1.0,0.0
41
+ Veg Manchurian,1.0,225.0,7.5,22.5,12.5,1.0,0.0,0.0,1.0
42
+ Chicken Kebab,1.0,125.0,12.5,3.5,7.5,1.0,1.0,0.0,0.0
43
+ Medu Vada,1.0,90.0,3.5,12.5,7.5,1.0,0.0,0.0,1.0
44
+ Bhindi Masala,1.0,125.0,7.5,12.5,7.5,0.0,1.0,1.0,1.0
45
+ Veg Fried Rice,1.0,225.0,7.5,35.0,7.5,0.0,1.0,1.0,1.0
46
+ Prawn Masala,1.0,225.0,17.5,7.5,12.5,0.0,1.0,1.0,0.0
47
+ Gajar Halwa,1.0,225.0,7.5,45.0,7.5,0.0,1.0,0.0,1.0
48
+ Tomato Rice,1.0,225.0,7.5,45.0,7.5,0.0,1.0,1.0,1.0
49
+ Mango,1.0,150.0,1.0,40.0,0.6,1.0,1.0,1.0,1.0
50
+ Apple,1.0,95.0,0.5,25.0,0.4,1.0,1.0,1.0,1.0
51
+ Banana,1.0,105.0,1.3,27.0,0.4,1.0,1.0,1.0,1.0
52
+ Orange,1.0,62.0,1.2,15.0,0.2,1.0,1.0,1.0,1.0
53
+ Grapes,1.0,62.0,0.6,16.0,0.2,1.0,1.0,1.0,1.0
54
+ Watermelon,1.0,46.0,0.9,11.0,0.2,1.0,1.0,1.0,1.0
55
+ Pineapple,1.0,82.0,0.9,22.0,0.2,1.0,1.0,1.0,1.0
56
+ Pomegranate,1.0,83.0,1.7,18.0,1.2,1.0,1.0,1.0,1.0
57
+ Papaya,1.0,55.0,0.5,14.0,0.3,1.0,1.0,1.0,1.0
58
+ Strawberry,1.0,50.0,1.0,11.0,0.5,1.0,1.0,1.0,1.0
59
+ Rice (cooked),1.0,205.0,4.3,45.0,0.4,0.0,1.0,1.0,1.0
60
+ Wheat Roti,3.0,300.0,4.0,45.0,3.0,0.0,1.0,1.0,1.0
61
+ Brown Rice,1.0,216.0,5.0,45.0,1.8,0.0,1.0,1.0,1.0
62
+ Oats,1.0,147.0,5.9,27.0,2.5,1.0,0.0,0.0,1.0
63
+ Fried Soyabeans,1.0,200.0,5.0,19.0,2.6,1.0,1.0,0.0,1.0
64
+ Rava Upma,1.0,180.0,4.0,32.0,4.0,1.0,0.0,0.0,1.0
65
+ Poha,1.0,270.0,6.0,52.0,3.0,1.0,0.0,0.0,1.0
66
+ Uttapam,1.0,200.0,4.0,30.0,6.0,1.0,0.0,0.0,1.0
67
+ Sambar,1.0,110.0,3.0,20.0,2.0,0.0,1.0,1.0,1.0
68
+ Rasam,1.0,75.0,2.0,15.0,1.0,0.0,1.0,1.0,1.0
69
+ Vada,1.0,125.0,4.0,20.0,4.0,1.0,0.0,0.0,1.0
70
+ Rava Dosa,1.0,160.0,4.0,24.0,6.0,1.0,0.0,0.0,1.0
71
+ Biryani,1.0,250.0,6.0,35.0,10.0,0.0,1.0,1.0,0.0
72
+ Chicken Tikka Masala,1.0,330.0,20.0,12.0,23.0,0.0,1.0,1.0,0.0
73
+ Bhel Puri,1.0,285.0,5.0,40.0,12.0,1.0,0.0,0.0,1.0
74
+ Jalebi,1.0,150.0,2.0,30.0,5.0,0.0,1.0,1.0,1.0
75
+ Lassi,1.0,150.0,6.0,20.0,4.0,1.0,1.0,1.0,1.0
76
+ Masala Chai,1.0,150.0,2.0,12.0,9.0,1.0,0.0,0.0,1.0
77
+ Filter Coffee,1.0,80.0,1.0,14.0,1.0,1.0,0.0,0.0,1.0
78
+ Coconut Chutney,2.0,60.0,0.6,4.0,5.5,1.0,1.0,1.0,1.0
79
+ Tomato Chutney,2.0,40.0,0.8,9.0,0.4,1.0,1.0,1.0,1.0
80
+ Tamarind Chutney,2.0,80.0,0.5,20.0,0.5,1.0,1.0,1.0,1.0
81
+ Raita,1.0,70.0,3.0,6.0,3.0,0.0,1.0,1.0,1.0
82
+ Upma,1.0,220.0,4.0,38.0,6.0,1.0,0.0,0.0,1.0
83
+ Lemon Rice,1.0,200.0,4.0,40.0,4.0,0.0,0.0,1.0,1.0
84
+ Lemon Pickle,1.0,50.0,0.5,10.0,1.0,0.0,1.0,1.0,1.0
85
+ Mango Pickle,1.0,25.0,0.3,6.0,0.2,0.0,1.0,1.0,1.0
86
+ Tamarind Rice,1.0,400.0,7.0,80.0,8.0,0.0,1.0,1.0,1.0
87
+ Curd Rice,1.0,180.0,3.0,30.0,5.0,0.0,1.0,1.0,1.0
88
+ Kesar Pista Kulfi,1.0,225.0,6.5,22.5,12.5,0.0,0.0,1.0,1.0
89
+ Baingan Bharta,1.0,175.0,5.0,17.5,12.5,0.0,1.0,1.0,1.0
90
+ Dhokla,2.0,175.0,7.0,22.5,6.5,1.0,0.0,0.0,1.0
91
+ Aloo Gobi,1.0,175.0,5.0,17.5,11.0,0.0,1.0,1.0,1.0
92
+ Kofta Curry,1.0,275.0,12.5,22.5,17.5,0.0,1.0,1.0,1.0
93
+ Paneer Bhurji,1.0,225.0,12.5,12.5,17.5,1.0,1.0,1.0,1.0
94
+ Besan Chilla,2.0,175.0,9.0,22.5,6.5,1.0,0.0,0.0,1.0
95
+ Sabudana Khichdi,1.0,225.0,3.0,45.0,12.5,1.0,0.0,0.0,1.0
96
+ Methi Thepla,2.0,175.0,6.5,22.5,6.5,1.0,0.0,0.0,1.0
97
+ Kadhi Pakora,1.0,225.0,7.0,22.5,12.5,0.0,1.0,1.0,1.0
98
+ Aloo Methi,1.0,175.0,4.0,17.5,11.0,0.0,1.0,1.0,1.0
99
+ Rajma,1.0,225.0,9.0,32.5,6.5,0.0,1.0,1.0,1.0
100
+ Bhindi Fry,1.0,175.0,4.0,12.5,11.0,0.0,1.0,1.0,1.0
101
+ Methi Paratha,1.0,175.0,5.0,22.5,6.5,1.0,0.0,0.0,1.0
102
+ Moong Dal Halwa,1.0,325.0,11.0,45.0,12.5,0.0,0.0,1.0,1.0
103
+ Chana Masala,1.0,225.0,12.5,32.5,6.5,0.0,1.0,1.0,1.0
104
+ Gatte ki Sabzi,1.0,225.0,7.0,22.5,11.0,0.0,1.0,1.0,1.0
105
+ Rajasthani Kadi,1.0,175.0,7.0,17.5,9.0,0.0,1.0,1.0,1.0
106
+ Sooji Halwa,1.0,325.0,6.5,55.0,12.5,1.0,0.0,0.0,1.0
107
+ Bisi Bele Bath,1.0,225.0,7.0,45.0,6.5,1.0,1.0,0.0,1.0
108
+ Mysore Bonda,2.0,225.0,6.5,22.5,12.5,1.0,0.0,0.0,1.0
109
+ Veg Hakka Noodles,1.0,325.0,8.5,55.0,12.5,0.0,1.0,1.0,1.0
110
+ Paneer Paratha,1.0,225.0,9.0,32.5,9.0,1.0,1.0,0.0,1.0
111
+ Dal Tadka,1.0,225.0,9.0,27.5,6.5,0.0,1.0,1.0,1.0
112
+ Dum Aloo,1.0,225.0,5.0,22.5,12.5,0.0,1.0,1.0,1.0
113
+ Palak Khichdi,1.0,225.0,7.0,45.0,6.5,1.0,1.0,1.0,1.0
114
+ Nariyal Chutney,2.0,60.0,0.75,3.0,5.0,1.0,1.0,1.0,1.0
115
+ Vermicelli Upma,1.0,175.0,5.0,27.5,6.5,1.0,0.0,0.0,1.0
116
+ Methi Muthia,2.0,175.0,5.0,22.5,6.5,1.0,0.0,0.0,1.0
117
+ Khakra,2.0,125.0,3.0,22.5,3.0,1.0,0.0,0.0,1.0
118
+ Chana Sundal,1.0,175.0,7.0,22.5,6.5,1.0,0.0,0.0,1.0
119
+ Cabbage Sabzi,1.0,125.0,4.0,12.5,6.5,0.0,1.0,1.0,1.0
120
+ Patra,2.0,175.0,5.0,22.5,6.5,1.0,0.0,0.0,1.0
121
+ Bhutte ka Kees,1.0,175.0,5.0,22.5,6.5,1.0,0.0,0.0,1.0
122
+ Aloo Bhindi,1.0,175.0,4.0,17.5,11.0,0.0,1.0,1.0,1.0
123
+ Lauki Kofta,1.0,225.0,7.0,22.5,11.0,0.0,1.0,1.0,1.0
124
+ Dal Baati,1.0,225.0,7.0,27.5,11.0,0.0,1.0,1.0,1.0
125
+ Puran Poli,1.0,225.0,7.0,32.5,6.5,1.0,1.0,0.0,1.0
126
+ Sarson ka Saag,1.0,175.0,5.0,12.5,11.0,0.0,1.0,1.0,1.0
127
+ Makki di Roti,1.0,175.0,4.0,22.5,6.5,1.0,1.0,0.0,1.0
128
+ Nargisi Kofta,1.0,275.0,12.5,22.5,17.5,0.0,1.0,1.0,1.0
129
+ Pesarattu Upma,1.0,175.0,7.0,27.5,6.5,1.0,0.0,0.0,1.0
130
+ Chilli Paneer,1.0,225.0,12.5,17.5,12.5,0.0,1.0,1.0,1.0
131
+ Sindhi Kadhi,1.0,175.0,5.0,17.5,9.0,0.0,1.0,1.0,1.0
132
+ Shahi Paneer,1.0,325.0,12.5,22.5,22.5,0.0,1.0,1.0,1.0
133
+ Aloo Posto,1.0,225.0,6.5,22.5,12.5,0.0,1.0,1.0,1.0
134
+ Misal Pav,1.0,325.0,12.5,45.0,12.5,1.0,0.0,0.0,1.0
135
+ Kothimbir Vadi,2.0,175.0,6.5,22.5,6.5,1.0,0.0,0.0,1.0
136
+ Dabeli,1.0,275.0,7.0,45.0,12.5,1.0,0.0,0.0,1.0
137
+ Patra Ni Machhi,1.0,225.0,17.5,6.5,12.5,0.0,1.0,1.0,1.0
138
+ Veg Kolhapuri,1.0,225.0,7.0,17.5,12.5,0.0,1.0,1.0,1.0
139
+ Kaju Katli,2.0,175.0,4.0,17.5,9.0,0.0,0.0,1.0,1.0
140
+ Kharvas,1.0,125.0,6.5,12.5,6.5,0.0,0.0,1.0,1.0
141
+ Sheera,1.0,225.0,5.0,32.5,9.0,1.0,0.0,0.0,1.0
142
+ Pineapple Sheera,1.0,225.0,5.0,32.5,9.0,1.0,0.0,0.0,1.0
143
+ Kesari Bhaat,1.0,225.0,5.0,42.5,6.5,1.0,0.0,0.0,1.0
144
+ Kharbooja Halwa,1.0,275.0,5.0,45.0,11.0,0.0,0.0,1.0,1.0
145
+ Meetha Daliya,1.0,175.0,5.0,27.5,6.5,1.0,0.0,0.0,1.0
146
+ Lauki Halwa,1.0,225.0,6.5,32.5,6.5,0.0,0.0,1.0,1.0
147
+ Jowar Roti,2.0,225.0,7.0,32.5,5.0,0.0,1.0,1.0,1.0
148
+ Barley Khichdi,1.0,225.0,7.0,42.5,6.5,1.0,1.0,1.0,1.0
149
+ Gehun Ki Bikaneri Khichdi,1.0,225.0,7.0,42.5,6.5,1.0,1.0,1.0,1.0
150
+ Bajra Khichdi,1.0,225.0,7.0,42.5,6.5,1.0,1.0,1.0,1.0
151
+ Chawal Ki Kheer,1.0,225.0,7.0,42.5,6.5,0.0,0.0,1.0,1.0
152
+ Sabudana Kheer,1.0,225.0,5.0,32.5,6.5,1.0,0.0,0.0,1.0
153
+ Makhana Kheer,1.0,225.0,6.5,27.5,9.0,0.0,0.0,1.0,1.0
154
+ Panchamrut,1.0,225.0,6.5,22.5,11.0,0.0,1.0,1.0,1.0
155
+ Aloo Jeera,1.0,175.0,4.0,17.5,11.0,0.0,1.0,1.0,1.0
156
+ Lauki Chana Dal,1.0,225.0,9.0,27.5,6.5,0.0,1.0,1.0,1.0
157
+ Chana Dal Halwa,1.0,325.0,11.0,45.0,12.5,0.0,0.0,1.0,1.0
158
+ Ginger Tea,1.0,60.0,0.75,11.0,0.75,1.0,0.0,0.0,1.0
159
+ Tulsi Tea,1.0,60.0,0.75,11.0,0.75,1.0,0.0,0.0,1.0
160
+ Masala Oats,1.0,175.0,5.0,27.5,6.5,1.0,0.0,0.0,1.0
161
+ Rajma Galouti Kebab,1.0,175.0,6.5,22.5,6.5,1.0,1.0,0.0,1.0
162
+ Sprouts Salad,1.0,125.0,7.0,17.5,3.0,1.0,1.0,1.0,1.0
163
+ Dahi Bhalla,1.0,225.0,7.0,22.5,9.0,1.0,0.0,0.0,1.0
164
+ Moong Dal Cheela,2.0,175.0,9.0,22.5,6.5,1.0,0.0,0.0,1.0
165
+ Aloo Tikki Chaat,1.0,275.0,7.0,32.5,12.5,1.0,0.0,0.0,1.0
166
+ Batata Vada,2.0,225.0,5.0,32.5,12.5,1.0,0.0,0.0,1.0
167
+ Sev Puri,1.0,225.0,5.0,27.5,11.0,1.0,0.0,0.0,1.0
168
+ Chole Kulche,1.0,325.0,11.0,45.0,12.5,1.0,0.0,0.0,1.0
169
+ Ragda Pattice,1.0,325.0,9.0,45.0,12.5,1.0,0.0,0.0,1.0
170
+ Veg Frankie,1.0,275.0,7.0,45.0,11.0,1.0,0.0,0.0,1.0
171
+ Baida Roti,1.0,225.0,9.0,27.5,11.0,1.0,0.0,0.0,1.0
172
+ Mutton Rogan Josh,1.0,325.0,22.5,12.5,22.5,0.0,1.0,1.0,0.0
173
+ Shami Kebab,1.0,175.0,11.0,6.5,11.0,0.0,1.0,1.0,0.0
174
+ Nihari,1.0,325.0,22.5,12.5,22.5,0.0,1.0,1.0,0.0
175
+ Paya Soup,1.0,225.0,17.5,6.5,11.0,0.0,1.0,1.0,0.0
176
+ Chicken Rezala,1.0,325.0,22.5,12.5,22.5,0.0,1.0,1.0,0.0
177
+ Keema Paratha,1.0,275.0,17.5,27.5,12.5,1.0,1.0,0.0,0.0
178
+ Egg Bhurji,1.0,225.0,11.0,12.5,17.5,0.0,1.0,1.0,0.0
179
+ Karela Sabzi,1.0,125.0,6.5,12.5,6.5,0.0,1.0,1.0,1.0
180
+ Kaddu Ki Sabzi,1.0,125.0,4.0,17.5,6.5,0.0,1.0,1.0,1.0
181
+ Sarson Ka Saag,1.0,175.0,7.0,12.5,11.0,0.0,1.0,1.0,1.0
182
+ Makki Ki Roti,2.0,225.0,7.0,32.5,6.5,0.0,1.0,1.0,1.0
183
+ Gatte Ki Sabzi,1.0,225.0,7.0,22.5,11.0,0.0,1.0,1.0,1.0
184
+ Dahi Ke Kebab,2.0,225.0,9.0,17.5,11.0,1.0,0.0,0.0,0.0
185
+ Bharwa Baingan,1.0,175.0,6.5,12.5,11.0,0.0,1.0,1.0,1.0
186
+ Palak Poori,2.0,225.0,6.5,27.5,11.0,1.0,0.0,0.0,1.0
187
+ Mathri,2.0,175.0,4.0,22.5,9.0,1.0,0.0,0.0,1.0
188
+ Namak Pare,10.0,175.0,4.0,22.5,9.0,1.0,0.0,0.0,1.0
189
+ Chakli,2.0,225.0,7.0,22.5,11.0,1.0,0.0,0.0,1.0
190
+ Methi Malai Paneer,1.0,325.0,11.0,12.5,22.5,0.0,1.0,1.0,1.0
191
+ Mushroom Matar,1.0,175.0,6.5,12.5,11.0,0.0,1.0,1.0,1.0
192
+ Corn Pakoda,4.0,225.0,7.0,22.5,11.0,1.0,0.0,0.0,1.0
193
+ Paneer Pakoda,2.0,225.0,11.0,17.5,11.0,1.0,0.0,0.0,1.0
194
+ Banana Chips,1.0,175.0,2.5,22.5,9.0,1.0,0.0,0.0,1.0
195
+ Rajma Kebabs,2.0,225.0,9.0,22.5,11.0,1.0,0.0,0.0,1.0
196
+ Chickpea Sundal,1.0,175.0,9.0,22.5,6.5,1.0,0.0,0.0,0.0
197
+ Neer Dosa,2.0,175.0,4.0,22.5,6.5,1.0,0.0,0.0,1.0
198
+ Sabudana Thalipeeth,2.0,225.0,5.0,32.5,9.0,1.0,0.0,0.0,1.0
199
+ Jowar Upma,1.0,175.0,5.0,32.5,6.5,1.0,0.0,0.0,1.0
200
+ Green Pea Upma,1.0,175.0,5.0,32.5,6.5,1.0,0.0,0.0,1.0
201
+ Achari Paneer,1.0,225.0,11.0,12.5,17.5,0.0,1.0,1.0,1.0
202
+ Murgh Musallam,1.0,325.0,22.5,12.5,22.5,0.0,1.0,1.0,0.0
203
+ Mutton Kheema,1.0,325.0,22.5,12.5,22.5,0.0,1.0,1.0,0.0
204
+ Methi Murg,1.0,275.0,17.5,12.5,17.5,0.0,1.0,1.0,0.0
205
+ Baida Paratha,1.0,225.0,11.0,27.5,11.0,1.0,1.0,0.0,1.0
206
+ Masala Khichdi,1.0,225.0,7.0,37.5,6.5,1.0,1.0,1.0,1.0
207
+ Keema Pav,1.0,325.0,22.5,32.5,17.5,0.0,1.0,1.0,0.0
208
+ Papdi Chaat,1.0,275.0,7.0,32.5,11.0,1.0,0.0,0.0,1.0
209
+ Palak Pakoda,4.0,225.0,7.0,22.5,11.0,1.0,0.0,0.0,1.0
210
+ Aloo Chaat,1.0,225.0,5.0,32.5,9.0,1.0,0.0,0.0,1.0
211
+ Sooji Toast,2.0,175.0,6.5,22.5,6.5,1.0,0.0,0.0,1.0
212
+ Rava Idli,2.0,175.0,7.0,22.5,6.5,1.0,0.0,0.0,1.0
213
+ Kuttu Ke Pakode,4.0,225.0,7.0,22.5,11.0,1.0,0.0,0.0,1.0
214
+ Tamatar Kadhi,1.0,175.0,6.5,22.5,9.0,1.0,0.0,0.0,1.0
215
+ Kaddu Ka Halwa,1.0,225.0,6.5,32.5,9.0,0.0,0.0,1.0,1.0
216
+ Nariyal Barfi,2.0,175.0,4.0,22.5,9.0,0.0,0.0,1.0,1.0
217
+ Aam Ras,1.0,175.0,2.5,32.5,6.5,0.0,1.0,1.0,1.0
218
+ Sprout Salad,1.0,175.0,2.0,18.0,5.0,1.0,1.0,0.0,1.0
219
+ Chana Chaat,1.0,225.0,7.0,38.0,6.0,0.0,1.0,0.0,1.0
220
+ Quinoa Salad,1.0,225.0,7.0,32.0,8.0,1.0,1.0,0.0,1.0
221
+ Vegetable Soup,1.0,125.0,4.0,15.0,3.0,0.0,1.0,1.0,1.0
222
+ Beetroot Salad,1.0,125.0,2.0,10.0,0.0,0.0,1.0,0.0,1.0
223
+ Carrot-Apple Salad,1.0,175.0,1.0,14.0,0.0,1.0,0.0,0.0,1.0
224
+ Mixed Veg Raita,1.0,125.0,6.0,9.0,8.0,1.0,1.0,1.0,1.0
225
+ Moong Dal Chilla,2.0,175.0,8.0,18.0,3.0,1.0,0.0,0.0,1.0
226
+ Spinach Bhaji,1.0,175.0,5.0,9.0,6.0,0.0,1.0,1.0,1.0
227
+ Lauki Sabzi,1.0,125.0,3.0,9.0,6.0,0.0,1.0,1.0,1.0
228
+ Kala Chana,1.0,225.0,9.0,27.0,3.0,0.0,1.0,1.0,1.0
229
+ Aloo Matar,1.0,225.0,6.0,24.0,6.0,0.0,1.0,1.0,1.0
230
+ Tinda Sabzi,1.0,125.0,2.0,7.0,6.0,0.0,1.0,1.0,1.0
231
+ Beetroot Sabzi,1.0,175.0,2.0,10.0,6.0,0.0,1.0,1.0,1.0
232
+ Mixed Veg Curry,1.0,225.0,3.0,12.0,8.0,0.0,1.0,1.0,1.0
233
+ Pumpkin Soup,1.0,125.0,1.0,7.0,2.0,0.0,1.0,1.0,1.0
234
+ Tofu Stir Fry,1.0,225.0,11.0,9.0,15.0,0.0,1.0,1.0,1.0
235
+ Carrot Soup,1.0,125.0,1.0,7.0,2.0,0.0,1.0,1.0,1.0
236
+ Sprouted Moong Dal Salad,1.0,175.0,6.0,20.0,2.0,1.0,1.0,0.0,1.0
237
+ Tomato Soup,1.0,125.0,2.0,10.0,2.0,0.0,1.0,1.0,1.0
238
+ Corn Salad,1.0,175.0,4.0,17.0,2.0,1.0,1.0,0.0,1.0
239
+ Radish Salad,1.0,125.0,3.0,7.0,1.0,1.0,1.0,0.0,1.0
240
+ Moong Dal Tikki,2.0,175.0,6.0,18.0,4.0,1.0,1.0,0.0,1.0
241
+ Stuffed Capsicum,2.0,225.0,5.0,12.0,7.0,0.0,1.0,1.0,1.0
242
+ Spinach Soup,1.0,125.0,3.0,9.0,2.0,0.0,1.0,1.0,1.0
243
+ Fruit Salad,1.0,175.0,1.0,20.0,0.0,1.0,0.0,0.0,1.0
244
+ Oats Upma,1.0,175.0,7.0,28.0,5.0,1.0,0.0,0.0,1.0
245
+ Cucumber Salad,1.0,125.0,1.0,8.0,0.0,1.0,1.0,0.0,1.0
246
+ Mixed Bean Salad,1.0,225.0,7.0,20.0,3.0,1.0,1.0,0.0,1.0
247
+ Masoor Dal,1.0,225.0,9.0,20.0,1.0,0.0,1.0,1.0,1.0
248
+ Sprouted Chana Salad,1.0,175.0,6.0,21.0,1.0,1.0,1.0,0.0,1.0
249
+ Sweet Potato Chaat,1.0,225.0,3.0,14.0,5.0,1.0,0.0,0.0,1.0
250
+ Masoor Usal,1.0,225.0,23.0,7.0,13.0,0.0,1.0,1.0,1.0
251
+ Hare Chane ki Chaat,1.0,175.0,18.0,5.0,13.0,1.0,0.0,0.0,1.0
252
+ Gajar Methi Subzi,1.0,175.0,23.0,7.0,7.0,0.0,1.0,1.0,1.0
253
+ Tindora Fry,1.0,125.0,28.0,9.0,4.0,0.0,1.0,1.0,1.0
254
+ Moong Dal Soup,1.0,125.0,23.0,13.0,18.0,1.0,0.0,0.0,1.0
255
+ Soybean Tikki,2.0,175.0,13.0,13.0,18.0,1.0,0.0,0.0,1.0
256
+ Ragi Mudde,2.0,225.0,23.0,9.0,7.0,1.0,1.0,0.0,1.0
257
+ Bhindi Do Pyaza,1.0,175.0,45.0,3.0,13.0,0.0,1.0,1.0,1.0
258
+ Sprouted Moong Curry,1.0,225.0,23.0,7.0,7.0,0.0,1.0,1.0,1.0
259
+ Masala Chaas,1.0,60.0,23.0,7.0,13.0,1.0,0.0,0.0,1.0
260
+ Amla Juice,1.0,70.0,18.0,4.0,11.0,1.0,0.0,0.0,1.0
261
+ Jamun Juice,1.0,80.0,33.0,9.0,7.0,1.0,0.0,0.0,1.0
262
+ Aloe Vera Juice,1.0,60.0,13.0,4.0,11.0,1.0,0.0,0.0,1.0
263
+ Kokum Sherbet,1.0,110.0,23.0,5.0,7.0,1.0,0.0,0.0,1.0
264
+ Guava Salad,1.0,125.0,28.0,14.0,9.0,1.0,0.0,0.0,1.0
265
+ Bottle Gourd Juice,1.0,90.0,23.0,8.0,7.0,1.0,0.0,0.0,1.0
266
+ Sugarcane Juice,1.0,175.0,18.0,7.0,11.0,1.0,0.0,0.0,1.0
267
+ Amaranth Stir-fry,1.0,175.0,33.0,5.0,9.0,0.0,1.0,1.0,1.0
268
+ Baingan Masala,1.0,175.0,28.0,6.0,13.0,0.0,1.0,1.0,1.0
269
+ Rajgira Puri,2.0,225.0,23.0,5.0,13.0,1.0,0.0,0.0,1.0
270
+ Bajra Roti,2.0,175.0,13.0,5.0,7.0,1.0,1.0,1.0,1.0
271
+ Green Pea Salad,1.0,125.0,45.0,4.0,13.0,1.0,0.0,0.0,1.0
272
+ Mixed Sprouts Usal,1.0,225.0,33.0,6.0,11.0,0.0,1.0,1.0,1.0
273
+ Pomegranate Raita,1.0,125.0,13.0,9.0,4.0,1.0,0.0,0.0,1.0
274
+ Beetroot Thoran,1.0,125.0,38.0,7.0,11.0,0.0,1.0,1.0,1.0
275
+ Cabbage Kootu,1.0,175.0,8.0,1.0,11.0,0.0,1.0,1.0,1.0
276
+ Vegetable Clear Soup,1.0,90.0,13.0,6.0,9.0,0.0,1.0,0.0,1.0
277
+ Masoor Dal Salad,1.0,225.0,13.0,4.0,11.0,1.0,0.0,0.0,1.0
278
+ Sprouted Moong Salad,1.0,175.0,8.0,6.0,7.0,1.0,0.0,0.0,1.0
279
+ Sprouted Moong Chilla,2.0,175.0,23.0,6.0,7.0,1.0,0.0,0.0,1.0
280
+ Mango Lassi,1.0,225.0,8.0,2.0,1.0,1.0,0.0,0.0,1.0
281
+ Strawberry Smoothie,1.0,175.0,18.0,2.0,1.0,1.0,0.0,0.0,1.0
282
+ Cucumber Raita,1.0,125.0,18.0,2.0,1.0,1.0,0.0,0.0,1.0
283
+ Dal Dhokli,1.0,275.0,7.5,27.5,12.5,0.0,1.0,1.0,1.0
284
+ Appe,4.0,175.0,6.0,27.5,6.5,1.0,0.0,0.0,1.0
285
+ Zunka Bhakri,1.0,225.0,9.0,32.5,9.0,0.0,1.0,1.0,1.0
286
+ Thecha with Bhakri,1.0,175.0,6.0,27.5,9.0,0.0,1.0,1.0,1.0
287
+ Bhakri with Methi Pithla,1.0,225.0,9.0,22.5,11.0,0.0,1.0,1.0,1.0
288
+ Aliv Ladoo,2.0,225.0,5.5,27.5,11.0,0.0,0.0,1.0,1.0
289
+ Sol Kadhi,1.0,60.0,1.5,6.5,3.0,1.0,0.0,0.0,1.0
290
+ Pithla Bhakri,1.0,275.0,9.0,32.5,6.5,0.0,1.0,1.0,1.0
291
+ Bharli Vangi,1.0,175.0,5.5,12.5,3.0,0.0,1.0,1.0,1.0
292
+ Vaangi Bhaat,1.0,275.0,6.0,32.5,6.5,0.0,1.0,1.0,1.0
293
+ Thalipeeth,2.0,225.0,5.5,27.5,6.5,1.0,0.0,0.0,1.0
294
+ Patodi Rassa,1.0,225.0,5.5,27.5,6.5,0.0,1.0,1.0,1.0
295
+ Amboli,2.0,175.0,6.0,17.5,6.5,1.0,0.0,0.0,1.0
296
+ Tomato Saar,1.0,90.0,1.5,12.5,5.5,0.0,1.0,1.0,1.0
297
+ Shev Bhaji,1.0,225.0,8.5,15.0,4.0,0.0,1.0,1.0,1.0
298
+ Batata Bhaji,1.0,175.0,5.0,27.5,6.5,0.0,1.0,1.0,1.0
299
+ Sukka Mutton,1.0,275.0,10.0,35.0,12.5,0.0,1.0,1.0,0.0
300
+ Kadhi Khichdi,1.0,225.0,4.5,32.5,6.5,0.0,1.0,1.0,1.0
301
+ Undhiyu,1.0,225.0,3.5,32.5,6.5,0.0,1.0,1.0,1.0
302
+ Handvo,2.0,175.0,12.0,27.5,9.0,1.0,0.0,0.0,1.0
303
+ Ghavan,2.0,175.0,7.5,32.5,9.0,1.0,0.0,0.0,1.0
304
+ Green Pea Thepla,2.0,175.0,6.0,37.5,9.0,1.0,0.0,0.0,1.0
305
+ Lapsi,1.0,175.0,7.0,37.5,9.0,1.0,0.0,0.0,1.0
306
+ Chana Dal Pancakes,2.0,225.0,7.5,32.5,9.0,1.0,0.0,0.0,1.0
307
+ Palak Moong Dal,1.0,175.0,7.5,32.5,9.0,0.0,1.0,1.0,1.0
308
+ Corn Kheer,1.0,225.0,7.0,27.5,9.0,0.0,0.0,1.0,1.0
309
+ Varan Bhaat,1.0,275.0,6.0,32.5,9.0,0.0,1.0,1.0,1.0
310
+ Amaranth Roti,2.0,175.0,5.0,32.5,9.0,1.0,1.0,1.0,1.0
311
+ Pumpkin Paratha,2.0,225.0,5.0,32.5,9.0,1.0,0.0,0.0,1.0
312
+ Kokum Kadhi,1.0,60.0,4.5,32.5,6.5,1.0,0.0,0.0,1.0
313
+ Kothimbir Roti,2.0,175.0,6.0,27.5,9.0,1.0,0.0,0.0,1.0
314
+ Avocado Salad,1.0,175.0,5.5,32.5,9.0,1.0,0.0,0.0,1.0
315
+ Quinoa Upma,1.0,225.0,10.0,37.5,12.0,1.0,0.0,0.0,1.0
316
+ Tofu Stir-Fry,1.0,175.0,8.0,37.5,12.5,1.0,1.0,1.0,1.0
317
+ Chickpea Salad,1.0,225.0,9.0,32.5,9.0,1.0,0.0,0.0,0.0
318
+ Hummus with Veggies,1.0,225.0,9.0,32.5,9.0,1.0,0.0,0.0,1.0
319
+ Falafel Wrap,1.0,275.0,11.0,27.5,9.0,1.0,0.0,0.0,1.0
320
+ Lentil Soup,1.0,175.0,9.0,32.5,6.5,1.0,0.0,0.0,1.0
321
+ Greek Yogurt with Berries,1.0,175.0,6.0,37.5,12.5,1.0,0.0,0.0,1.0
322
+ Buddha Bowl,1.0,275.0,10.0,35.0,12.5,1.0,0.0,0.0,1.0
323
+ Avocado Toast,2.0,225.0,8.0,37.5,12.5,1.0,0.0,0.0,1.0
324
+ Mushroom Masala,1.0,225.0,5.0,7.0,4.0,0.0,1.0,1.0,1.0
325
+ Gawar Phali Ki Sabzi,1.0,175.0,4.0,9.0,5.0,0.0,1.0,1.0,1.0
326
+ Pattagobhi Matar,1.0,225.0,5.0,11.0,3.0,0.0,1.0,1.0,1.0
327
+ Shenga Sukka,1.0,175.0,6.0,7.0,5.0,0.0,1.0,1.0,1.0
328
+ Kathal Ki Sabzi,1.0,225.0,4.0,18.0,9.0,0.0,1.0,1.0,1.0
329
+ Gavarfali Masala,1.0,225.0,7.0,14.0,4.0,0.0,1.0,1.0,1.0
330
+ Pumpkin Erissery,1.0,275.0,8.0,23.0,11.0,0.0,1.0,0.0,1.0
331
+ Amla Chutney,1.0,60.0,2.0,3.0,1.0,1.0,0.0,0.0,1.0
332
+ Karela Masala,1.0,175.0,4.0,5.0,5.0,0.0,1.0,1.0,1.0
333
+ Kala Chana Curry,1.0,225.0,11.0,28.0,7.0,0.0,1.0,1.0,1.0
334
+ Drumstick Sambar,1.0,225.0,9.0,18.0,6.0,0.0,1.0,1.0,1.0
335
+ Ratalu Nu Shaak,1.0,225.0,7.0,23.0,11.0,0.0,1.0,1.0,1.0
336
+ Tinda Masala,1.0,175.0,5.0,14.0,7.0,0.0,1.0,1.0,1.0
337
+ Bhutte Ka Kees,1.0,175.0,7.0,18.0,5.0,1.0,0.0,0.0,1.0
338
+ Palak Corn,1.0,175.0,6.0,13.0,4.0,0.0,1.0,1.0,1.0
339
+ Kachri Ki Sabzi,1.0,175.0,7.0,9.0,5.0,0.0,1.0,0.0,1.0
340
+ Lauki Kofta Curry,1.0,225.0,9.0,14.0,7.0,0.0,1.0,1.0,1.0
341
+ Fish Curry,1.0,200.0,20.0,5.0,8.0,0.0,1.0,1.0,0.0
342
+ Chicken Chettinad,1.0,250.0,22.0,7.0,12.0,0.0,1.0,1.0,0.0
343
+ Fish Moilee,1.0,200.0,19.0,4.0,9.0,0.0,1.0,1.0,0.0
344
+ Prawn Balchao,1.0,225.0,21.0,6.0,10.0,0.0,1.0,1.0,0.0
345
+ Mutton Keema,1.0,250.0,20.0,8.0,14.0,0.0,1.0,1.0,0.0
346
+ Chicken Sukka,1.0,250.0,22.0,6.0,12.0,0.0,1.0,1.0,0.0
347
+ Fish Amritsari,1.0,225.0,20.0,5.0,11.0,0.0,1.0,1.0,0.0
348
+ Prawn Malai Curry,1.0,250.0,22.0,8.0,12.0,0.0,1.0,1.0,0.0
349
+ Mutton Do Pyaza,1.0,275.0,19.0,10.0,17.0,0.0,1.0,1.0,0.0
350
+ Chicken Vindaloo,1.0,250.0,22.0,8.0,12.0,0.0,1.0,1.0,0.0
351
+ Fish Tikka,1.0,225.0,21.0,5.0,10.0,0.0,1.0,1.0,0.0
352
+ Prawn Gassi,1.0,250.0,22.0,7.0,11.0,0.0,1.0,1.0,0.0
353
+ Chicken Xacuti,1.0,250.0,22.0,8.0,13.0,0.0,1.0,1.0,0.0
354
+ Fish Curry Rice,1.0,250.0,19.0,25.0,8.0,0.0,1.0,1.0,0.0
355
+ Prawn Biryani,1.0,300.0,21.0,40.0,12.0,0.0,1.0,1.0,0.0
356
+ Chicken Stew,1.0,225.0,21.0,6.0,8.0,0.0,1.0,1.0,0.0
357
+ Fish Fry,1.0,225.0,20.0,6.0,12.0,0.0,1.0,1.0,0.0
358
+ Prawn Fried Rice,1.0,300.0,20.0,40.0,10.0,0.0,1.0,1.0,0.0
359
+ Mutton Korma,1.0,275.0,19.0,10.0,17.0,0.0,1.0,1.0,0.0
360
+ Fish Curry Andhra,1.0,200.0,19.0,5.0,8.0,0.0,1.0,1.0,0.0
361
+ Mutton Saagwala,1.0,275.0,20.0,8.0,18.0,0.0,1.0,1.0,0.0
362
+ Chicken Jalfrezi,1.0,250.0,22.0,7.0,12.0,0.0,1.0,1.0,0.0
363
+ Kadaknath Chicken Curry,1.0,225.0,25.0,6.0,10.0,0.0,1.0,1.0,0.0
364
+ Salmon Tikka,1.0,250.0,23.0,5.0,15.0,0.0,1.0,1.0,0.0
365
+ Quail Fry,1.0,240.0,26.0,4.0,14.0,0.0,1.0,1.0,0.0
366
+ Turkey Keema,1.0,275.0,28.0,6.0,12.0,0.0,1.0,1.0,0.0
367
+ Mackerel Fish Curry,1.0,210.0,22.0,5.0,9.0,0.0,1.0,1.0,0.0
368
+ Egg Bhurji with Spinach,1.0,180.0,12.0,5.0,12.0,1.0,0.0,0.0,0.0
369
+ Chicken Sausage Omelette,1.0,200.0,18.0,4.0,14.0,1.0,0.0,0.0,0.0
370
+ Quinoa Chicken Salad,1.0,220.0,20.0,25.0,8.0,1.0,0.0,0.0,0.0
371
+ Smoked Salmon Bagel,1.0,250.0,15.0,30.0,10.0,1.0,0.0,0.0,0.0
372
+ Mutton Keema Sandwich,1.0,300.0,18.0,35.0,12.0,1.0,0.0,0.0,0.0
373
+ Fish Patties,1.0,200.0,14.0,12.0,10.0,1.0,0.0,0.0,0.0
374
+ Chicken Quiche,1.0,250.0,20.0,10.0,15.0,1.0,0.0,0.0,0.0
375
+ Turkey Bacon Wrap,1.0,230.0,16.0,20.0,12.0,1.0,0.0,0.0,0.0
376
+ Prawn and Avocado Toast,1.0,220.0,14.0,20.0,12.0,1.0,0.0,0.0,0.0
377
+ Chicken Sausage Idli,1.0,200.0,15.0,25.0,8.0,1.0,0.0,0.0,0.0
378
+ Veggie Paneer Sandwich,1.0,180.0,12.0,25.0,6.0,1.0,0.0,0.0,1.0
379
+ Spinach and Cheese Wrap,1.0,210.0,10.0,30.0,8.0,1.0,0.0,0.0,1.0
380
+ Moringa Leaf Juice,1.0,60.0,3.0,10.0,1.0,1.0,0.0,0.0,1.0
381
+ Carrot Ginger Smoothie,1.0,150.0,2.0,30.0,1.0,1.0,0.0,1.0,1.0
382
+ Turmeric Golden Milk,1.0,120.0,4.0,15.0,5.0,1.0,0.0,0.0,1.0
383
+ Beetroot and Apple Juice,1.0,130.0,1.0,30.0,0.0,1.0,1.0,0.0,1.0
384
+ Almond Saffron Milkshake,1.0,180.0,6.0,20.0,8.0,1.0,0.0,1.0,1.0
385
+ Cucumber Aloe Vera Juice,1.0,50.0,1.0,10.0,0.0,1.0,0.0,0.0,1.0
386
+ Spinach Pineapple Smoothie,1.0,110.0,2.0,25.0,1.0,1.0,0.0,1.0,1.0
387
+ Kefir with Berries,1.0,100.0,5.0,15.0,3.0,1.0,0.0,0.0,1.0
388
+ Fig and Banana Smoothie,1.0,200.0,4.0,40.0,2.0,1.0,0.0,0.0,1.0
389
+ Pomegranate Mint Juice,1.0,120.0,1.0,28.0,0.0,1.0,0.0,1.0,1.0
390
+ Papaya Mint Smoothie,1.0,140.0,2.0,32.0,1.0,1.0,0.0,1.0,1.0
391
+ Kiwi Spinach Juice,1.0,90.0,2.0,20.0,0.0,1.0,1.0,0.0,1.0
392
+ Mango Chia Seed Smoothie,1.0,170.0,3.0,35.0,4.0,1.0,0.0,0.0,1.0
393
+ Avocado Banana Smoothie,1.0,220.0,3.0,40.0,8.0,1.0,0.0,0.0,1.0
394
+ Coconut Juice,1.0,60.0,1.0,15.0,0.5,1.0,1.0,1.0,1.0
395
+ ,,,,,,,,,
templates/index.html ADDED
@@ -0,0 +1,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>Diet Recommendation System</title>
6
+ <script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
7
+ <style>
8
+ /* static/style.css */
9
+
10
+ /* General Styles */
11
+ body {
12
+ font-family: 'Poppins', sans-serif;
13
+ background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
14
+ margin: 0;
15
+ padding: 20px;
16
+ color: #333;
17
+ }
18
+
19
+ /* Page Container */
20
+ .container {
21
+ max-width: 900px;
22
+ margin: auto;
23
+ background: #fff;
24
+ padding: 20px;
25
+ border-radius: 12px;
26
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
27
+ animation: fadeIn 1s ease-in-out;
28
+ }
29
+
30
+ /* Header */
31
+ h1 {
32
+ text-align: center;
33
+ color: #007BFF;
34
+ font-size: 2rem;
35
+ font-weight: bold;
36
+ }
37
+
38
+ /* Form Styles */
39
+ form {
40
+ background: rgba(255, 255, 255, 0.9);
41
+ padding: 20px;
42
+ border-radius: 10px;
43
+ box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
44
+ }
45
+
46
+ label {
47
+ font-weight: bold;
48
+ display: block;
49
+ margin-bottom: 6px;
50
+ }
51
+
52
+ input, select, textarea {
53
+ width: 100%;
54
+ padding: 10px;
55
+ margin-bottom: 12px;
56
+ border: 2px solid #ccc;
57
+ border-radius: 6px;
58
+ transition: 0.3s;
59
+ }
60
+
61
+ input:focus, select:focus, textarea:focus {
62
+ border-color: #007BFF;
63
+ outline: none;
64
+ box-shadow: 0px 0px 6px rgba(0, 123, 255, 0.5);
65
+ }
66
+
67
+ /* Submit Button */
68
+ button, .btn {
69
+ display: inline-block;
70
+ width: 100%;
71
+ padding: 12px;
72
+ background: linear-gradient(135deg, #007BFF, #0056b3);
73
+ color: white;
74
+ font-size: 1rem;
75
+ font-weight: bold;
76
+ text-align: center;
77
+ border: none;
78
+ border-radius: 8px;
79
+ cursor: pointer;
80
+ transition: 0.3s ease-in-out;
81
+ }
82
+
83
+ button:hover, .btn:hover {
84
+ background: linear-gradient(135deg, #0056b3, #00408a);
85
+ transform: scale(1.05);
86
+ }
87
+
88
+ /* Anchor Button Styling */
89
+ a.btn {
90
+ text-decoration: none;
91
+ }
92
+
93
+ /* Tables */
94
+ table {
95
+ width: 100%;
96
+ border-collapse: collapse;
97
+ margin-top: 20px;
98
+ background: white;
99
+ border-radius: 8px;
100
+ overflow: hidden;
101
+ box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
102
+ }
103
+
104
+ th, td {
105
+ padding: 12px;
106
+ text-align: left;
107
+ border-bottom: 1px solid #ddd;
108
+ }
109
+
110
+ th {
111
+ background: #007BFF;
112
+ color: white;
113
+ }
114
+
115
+ td {
116
+ background: #f9f9f9;
117
+ }
118
+
119
+ /* Chart Section */
120
+ .chart {
121
+ background: white;
122
+ padding: 15px;
123
+ border-radius: 10px;
124
+ box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
125
+ margin-bottom: 20px;
126
+ }
127
+
128
+ /* Fade In Animation */
129
+ @keyframes fadeIn {
130
+ from {
131
+ opacity: 0;
132
+ transform: translateY(-10px);
133
+ }
134
+ to {
135
+ opacity: 1;
136
+ transform: translateY(0);
137
+ }
138
+ }
139
+
140
+ /* Responsive Design */
141
+ @media (max-width: 768px) {
142
+ .container {
143
+ padding: 15px;
144
+ }
145
+
146
+ button {
147
+ font-size: 0.9rem;
148
+ }
149
+ }
150
+
151
+ </style>
152
+ </head>
153
+ <body>
154
+ <h1>Diet Recommendation System</h1>
155
+ <form method="post">
156
+ <label>Select your gender:</label>
157
+ <select name="user_gender" required>
158
+ <option value="Male">Male</option>
159
+ <option value="Female">Female</option>
160
+ </select><br>
161
+
162
+ <label>Enter your height in cm:</label>
163
+ <input type="number" name="user_height" min="50" max="250" step="1" required><br>
164
+
165
+ <label>Enter your weight in kg:</label>
166
+ <input type="number" name="user_weight" min="10" max="300" step="1" required><br>
167
+
168
+ <label>Enter your age in years:</label>
169
+ <input type="number" name="user_age" min="1" max="120" step="1" required><br>
170
+
171
+ <label>Enter any allergies or diseases (comma separated):</label>
172
+ <input type="text" name="allergies_diseases"><br>
173
+
174
+ <label>Are you vegetarian or non-vegetarian?</label>
175
+ <select name="dietary_preference" required>
176
+ <option value="veg">veg</option>
177
+ <option value="non-veg">non-veg</option>
178
+ </select><br>
179
+
180
+ <label>How often do you exercise in a week? (0 to 5):</label>
181
+ <input type="number" name="activity_level" min="0" max="5" step="1" required><br>
182
+
183
+ <input type="submit" value="Generate Diet Chart">
184
+ </form>
185
+
186
+ {% if results %}
187
+ <h2>Results</h2>
188
+ <p><strong>Your BMI:</strong> {{ results.bmi }}</p>
189
+ <p><strong>Predicted Body Category:</strong> {{ results.body_category }}</p>
190
+ <p><strong>Initial Calorie Intake:</strong> {{ results.initial_calorie_intake }} kcal/day</p>
191
+ <p><strong>New Calorie Intake:</strong> {{ results.new_calorie_intake }} kcal/day</p>
192
+
193
+ <h3>Breakfast</h3>
194
+ <table>
195
+ <tr>
196
+ <th>Food Item</th>
197
+ <th>Quantity</th>
198
+ <th>Calories (kcal)</th>
199
+ <th>Protein (g)</th>
200
+ <th>Carbohydrates (g)</th>
201
+ <th>Fats (g)</th>
202
+ </tr>
203
+ {% for row in results.breakfast %}
204
+ <tr>
205
+ <td>{{ row['Food Item'] }}</td>
206
+ <td>{{ row['Quantity'] }}</td>
207
+ <td>{{ row['Calories (kcal)'] }}</td>
208
+ <td>{{ row['Protein (g)'] }}</td>
209
+ <td>{{ row['Carbohydrates(g)'] }}</td>
210
+ <td>{{ row['Fats (g)'] }}</td>
211
+ </tr>
212
+ {% endfor %}
213
+ </table>
214
+ <p>Total Calories: {{ results.breakfast_total_calories }} kcal</p>
215
+ <p>Total Protein: {{ results.breakfast_total_protein }} g</p>
216
+ <p>Total Carbohydrates: {{ results.breakfast_total_carbs }} g</p>
217
+ <p>Total Fats: {{ results.breakfast_total_fats }} g</p>
218
+
219
+ <h3>Lunch</h3>
220
+ <table>
221
+ <tr>
222
+ <th>Food Item</th>
223
+ <th>Quantity</th>
224
+ <th>Calories (kcal)</th>
225
+ <th>Protein (g)</th>
226
+ <th>Carbohydrates (g)</th>
227
+ <th>Fats (g)</th>
228
+ </tr>
229
+ {% for row in results.lunch %}
230
+ <tr>
231
+ <td>{{ row['Food Item'] }}</td>
232
+ <td>{{ row['Quantity'] }}</td>
233
+ <td>{{ row['Calories (kcal)'] }}</td>
234
+ <td>{{ row['Protein (g)'] }}</td>
235
+ <td>{{ row['Carbohydrates(g)'] }}</td>
236
+ <td>{{ row['Fats (g)'] }}</td>
237
+ </tr>
238
+ {% endfor %}
239
+ </table>
240
+ <p>Total Calories: {{ results.lunch_total_calories }} kcal</p>
241
+ <p>Total Protein: {{ results.lunch_total_protein }} g</p>
242
+ <p>Total Carbohydrates: {{ results.lunch_total_carbs }} g</p>
243
+ <p>Total Fats: {{ results.lunch_total_fats }} g</p>
244
+
245
+ <h3>Dinner</h3>
246
+ <table>
247
+ <tr>
248
+ <th>Food Item</th>
249
+ <th>Quantity</th>
250
+ <th>Calories (kcal)</th>
251
+ <th>Protein (g)</th>
252
+ <th>Carbohydrates (g)</th>
253
+ <th>Fats (g)</th>
254
+ </tr>
255
+ {% for row in results.dinner %}
256
+ <tr>
257
+ <td>{{ row['Food Item'] }}</td>
258
+ <td>{{ row['Quantity'] }}</td>
259
+ <td>{{ row['Calories (kcal)'] }}</td>
260
+ <td>{{ row['Protein (g)'] }}</td>
261
+ <td>{{ row['Carbohydrates(g)'] }}</td>
262
+ <td>{{ row['Fats (g)'] }}</td>
263
+ </tr>
264
+ {% endfor %}
265
+ </table>
266
+ <p>Total Calories: {{ results.dinner_total_calories }} kcal</p>
267
+ <p>Total Protein: {{ results.dinner_total_protein }} g</p>
268
+ <p>Total Carbohydrates: {{ results.dinner_total_carbs }} g</p>
269
+ <p>Total Fats: {{ results.dinner_total_fats }} g</p>
270
+
271
+ <h3>Timings</h3>
272
+ {% if results.age <= 18 or results.age >= 60 %}
273
+ <ul>
274
+ <li>Breakfast: 9 to 10 am</li>
275
+ <li>Lunch: 12 to 1 pm</li>
276
+ <li>Dinner: 7 to 8 pm</li>
277
+ </ul>
278
+ {% else %}
279
+ <ul>
280
+ <li>Breakfast: 7 to 8 am</li>
281
+ <li>Lunch: 1 to 2 pm</li>
282
+ <li>Dinner: 8 to 9 pm</li>
283
+ </ul>
284
+ {% endif %}
285
+
286
+ <div class="chart">
287
+ <h3>Calorie Distribution Chart</h3>
288
+ {{ results.calorie_chart | safe }}
289
+ </div>
290
+
291
+ <div class="chart">
292
+ <h3>Nutrient Distribution Chart</h3>
293
+ {{ results.nutrient_chart | safe }}
294
+ </div>
295
+ {% endif %}
296
+ </body>
297
+ </html>