Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def recipe_maker(dish:str)-> str: #it's import to specify the return type
|
|
| 34 |
else:
|
| 35 |
return data["meals"][0]["strInstructions"]
|
| 36 |
except Exception as e:
|
| 37 |
-
return f"Error getting recipe info for {dish}:{str(e)}"
|
| 38 |
|
| 39 |
|
| 40 |
# recipe_url = f"https://www.themealdb.com/api/json/v1/1/search.php?s={arg1}"
|
|
|
|
| 34 |
else:
|
| 35 |
return data["meals"][0]["strInstructions"]
|
| 36 |
except Exception as e:
|
| 37 |
+
return f"Error getting recipe info for '{dish}':{str(e)}"
|
| 38 |
|
| 39 |
|
| 40 |
# recipe_url = f"https://www.themealdb.com/api/json/v1/1/search.php?s={arg1}"
|