larimei commited on
Commit
4e2b81f
1 Parent(s): 371c01b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"] + " it yourself by following the steps of this instruction: " + json_object["hits"][0]["recipe"]["url"]
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