AnishKumbhar commited on
Commit
4c5cb7a
1 Parent(s): 146278f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -6,19 +6,19 @@ def calculate_food_endpoint(activity: str, weight: int):
6
  score = 0
7
  if activity == "Typical" :
8
  score = 110
9
- else if activity == "Active" :
10
  score = 125
11
- else if activity == "Overweight" :
12
  score = 70
13
- else if activity == "Highly Active" :
14
  score = 175
15
- else if activity == "Senior, neutered, inactive" :
16
  score = 90
17
- else if activity == "Working Dog (light duty)" :
18
  score = 130
19
- else if activity == "Working Dog (moderate duty)" :
20
  score = 150
21
- else if activity == "Working Dog (heavy duty)" :
22
  score = 175
23
  else
24
  score = 110
 
6
  score = 0
7
  if activity == "Typical" :
8
  score = 110
9
+ elif activity == "Active" :
10
  score = 125
11
+ elif activity == "Overweight" :
12
  score = 70
13
+ elif activity == "Highly Active" :
14
  score = 175
15
+ elif activity == "Senior, neutered, inactive" :
16
  score = 90
17
+ elif activity == "Working Dog (light duty)" :
18
  score = 130
19
+ elif activity == "Working Dog (moderate duty)" :
20
  score = 150
21
+ elif activity == "Working Dog (heavy duty)" :
22
  score = 175
23
  else
24
  score = 110