You are browsing as a guest. Sign up (or log in) to start making projects!

1h 23m 27s logged

Added a cooking recipes feature for no reason

  • Created a cooking_helper.py in a cooking/ folder
  • OCR’d half of a cooking book with help from Gemini and put everything in a beautiful recipes.csv
  • Used the csv.DictReader object to access the info and organize it into a list, very useful.
  • Updated main.py so that when the user’s prompt starts with “Cooking”, it takes a random recipe from the csv file (using the random.randint(a, b) function) and returns a formatted sentence with all the info for cooking that recipe.
  • Made this cos I’m really bad at cooking and it could also benefit others, you never know.
0
33

Comments 2

@PAPER_01

Why not …. Lets add more (ᵕ • ᴗ •)

@louisd

Yes I plan to OCR the rest of the book tomorrow, and find other recipes on the internet. also I will translate everything to english ofc