helgn commited on
Commit
d9d0c3e
·
verified ·
1 Parent(s): 93743f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def get_calories(meal:str) -> Union[str, None]:
32
  Union[str, None]: The calorie information as a string in the format 'X kcal per 100g',
33
  'No data found' if no information is available, or None if the request fails.
34
  """
35
- search_url = f"https://world.openfoodfacts.org/cgi/search.pl"
36
  params = {
37
  'search_terms': meal,
38
  'search_simple': 1,
 
32
  Union[str, None]: The calorie information as a string in the format 'X kcal per 100g',
33
  'No data found' if no information is available, or None if the request fails.
34
  """
35
+ search_url = "https://world.openfoodfacts.org/cgi/search.pl"
36
  params = {
37
  'search_terms': meal,
38
  'search_simple': 1,