Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def getRecipe(meal):
|
|
52 |
returnString = "This is " + meal.replace("_"," ") + ". \n\n It is Made out of following ingredients: \n\n"
|
53 |
for line in json_object["hits"][0]["recipe"]["ingredientLines"]:
|
54 |
returnString += line + "\n"
|
55 |
-
returnString += "\n You can make "+ json_object["hits"][0]["recipe"]["label"] + "
|
56 |
|
57 |
return returnString
|
58 |
|
|
|
52 |
returnString = "This is " + meal.replace("_"," ") + ". \n\n It is Made out of following ingredients: \n\n"
|
53 |
for line in json_object["hits"][0]["recipe"]["ingredientLines"]:
|
54 |
returnString += line + "\n"
|
55 |
+
returnString += "\n You can make "+ json_object["hits"][0]["recipe"]["label"] + " yourself by following the steps of this instruction: " + json_object["hits"][0]["recipe"]["url"]
|
56 |
|
57 |
return returnString
|
58 |
|