shivanis14 commited on
Commit
1f54b96
1 Parent(s): 10d324b

Update rda.py

Browse files
Files changed (1) hide show
  1. rda.py +1 -1
rda.py CHANGED
@@ -53,7 +53,7 @@ def process_nutrition_data(nutrition_per_serving, user_serving_size):
53
  }
54
  return scaled_nutrition, percentage_daily_values
55
 
56
- def nutrition(data):
57
  #data is a dict. See https://github.com/ConsumeWise123/rda1/blob/main/clientp.py
58
  try:
59
  nutrition_per_serving = data['nutritionPerServing']
 
53
  }
54
  return scaled_nutrition, percentage_daily_values
55
 
56
+ def find_nutrition(data):
57
  #data is a dict. See https://github.com/ConsumeWise123/rda1/blob/main/clientp.py
58
  try:
59
  nutrition_per_serving = data['nutritionPerServing']