Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,8 @@ def search_recipes(ingredient, cuisine, dietary):
|
|
| 24 |
}
|
| 25 |
res = requests.get(url, params=params)
|
| 26 |
data = res.json()
|
|
|
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
# if "results" not in data or not data["results"]:
|
|
|
|
| 24 |
}
|
| 25 |
res = requests.get(url, params=params)
|
| 26 |
data = res.json()
|
| 27 |
+
print(data)
|
| 28 |
+
return data
|
| 29 |
|
| 30 |
|
| 31 |
# if "results" not in data or not data["results"]:
|