helgn commited on
Commit
9f661d7
·
verified ·
1 Parent(s): 92e7fa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -42,7 +42,6 @@ def get_calories(meal:str) -> Union[str, None]:
42
  response = requests.get(search_url, params=params)
43
 
44
  try:
45
- response.status_code == 200:
46
  data = response.json()
47
  if data['count'] > 0:
48
  for product in data['products']:
 
42
  response = requests.get(search_url, params=params)
43
 
44
  try:
 
45
  data = response.json()
46
  if data['count'] > 0:
47
  for product in data['products']: