mikecavs commited on
Commit
349e933
·
verified ·
1 Parent(s): 66da34c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def recipe_maker(dish:str)-> str: #it's import to specify the return type
26
  dish: what dish you want to make
27
  """
28
  try:
29
- url = f"https://www.themealdb.com/api/json/v1/1/search.php?s={dish}"
30
  response = requests.get(url)
31
  data = response.json()
32
  if data['arg1'] == None:
 
26
  dish: what dish you want to make
27
  """
28
  try:
29
+ url = f"https://www.themealdb.com/api/json/v1/1/search.php?i={dish}"
30
  response = requests.get(url)
31
  data = response.json()
32
  if data['arg1'] == None: