Over the course of this hackathon, we created a recipe generator. With the billions of tons of food waste every year, we wanted to create a program that could help cut down these numbers by allowing users to make meals from ingredients that they already have.
Essentially what our Recipe Generator does is it takes the ingredients which the user inputs, and it will generate a recipe that consists of the list of ingredients given.
For the code, we used OpenAI’s API for our backend functionality, for the recipe generation function. The UI was created using Gradio.
Of course, our project is still in progress and has areas that can and will be improved upon. For example, we could spend more time on prompt engineering to improve the output of the Recipe Generator. Sometimes the AI runs on the assumption that the user has certain household staples not included in the user input, such as olive oil and spices, which could pose an issue when executing the recipe.
Although we ran out of time, we would have also liked to add a function that would allow the user to make an account and save recipes they liked and choose recipes based upon their food preferences (variety of cuisine and dietary restrictions). We could also add in a variety of fonts and pictures to make the website more visually appealing to the user and professional. Furthermore, regarding project condition, although currently, our Recipe Generator isn’t publicly accessible, in the future, if we were to make it available as an everyday tool, we can simply publish the software on a website or app, allowing anyone to use the Recipe Generator anytime, anywhere!
Thank you, hope you like our project!
Built With
- gradio
- openai
- python
- vscode
Log in or sign up for Devpost to join the conversation.