GithubHelp home page GithubHelp logo

vinay-ghate / recipe-mixer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gitesh08/recipe-mixer

0.0 0.0 0.0 22 KB

Recipe Mixer is an AI-powered web application that encourages culinary exploration through recipe remixing. Users can input a recipe or list ingredients they have on hand, and the application utilizes the Gemini Pro model to suggest alternative ingredients based on flavor profiles and user preferences, including dietary restrictions.

License: MIT License

Python 96.89% Dockerfile 3.11%

recipe-mixer's Introduction

Recipe Mixer🧑🏻‍🍳

Recipe Mixer is an AI-powered web application that encourages culinary exploration through recipe remixing. Users can input a recipe or list ingredients they have on hand, and the application utilizes the Gemini Pro model to suggest alternative ingredients based on flavor profiles and user preferences, including dietary restrictions.

Why use Recipe Mixer?

Recipe Mixer is a user-friendly web application that helps you find delicious recipes based on the ingredients you have on hand. Whether you're a busy parent, a cooking enthusiast, or someone with dietary restrictions, Recipe Mixer makes meal planning easy and enjoyable. All you need to do is input the ingredients you have in your kitchen and specify any dietary preferences you may have, such as vegetarian or gluten-free. Recipe Mixer then suggests personalized recipe options that match your input. It even offers alternative ingredient suggestions and can adapt recipes to different cultural cuisines, so you can explore new flavors and cooking styles. With Recipe Mixer, you no longer have to worry about what to cook for dinner or how to use up leftover ingredients. It's like having a personal chef at your fingertips, ready to inspire you with creative and delicious meal ideas.

Features:

  • Ingredient Matching: Users can input a list of ingredients they have on hand, and the application suggests recipes based on those ingredients.
  • Dietary Preferences: Users can specify dietary preferences such as vegetarian, vegan, or gluten-free, and the suggested recipes take these preferences into account.
  • Alternative Ingredient Suggestions: The application suggests alternative ingredients based on flavor profiles and dietary preferences, allowing users to experiment with different ingredients.
  • Cultural Adaptation: The suggested recipes can be adapted to different cultural cuisines, promoting culinary exploration and diversity.

Dependencies:

  • Gemini Pro LLM: Natural language processing model for text classification.
  • Streamlit: Web application framework for building interactive web applications.
  • Google Generative AI: Integrates advanced AI capabilities into the application.
  • python-dotenv: python-dotenv is a Python library that allows you to read environment variables from .env files.
  • langchain.llms: langchain.llms is a library used to interact with language models, particularly for text generation tasks.

Installation:

  1. Clone the repository:
git clone https://github.com/Gitesh08/recipe-mixer.git
  1. Navigate to the project directory:
cd recipe-mixer
  1. Create a Python virtual environment:
python -m virtualenv . 
  1. Activate venv:
.\scripts\activate
  1. Install the required dependencies:
pip install -r requirements.txt

Ensure all dependencies are installed.

  1. Set up environment variables by creating a .env file and adding your Google API key:
GOOGLE_API_KEY=your_api_key_here
  1. Run the Streamlit application:
streamlit run app.py

Usage

  • Input your ingredients: Enter a list of ingredients you have on hand, separated by commas.
  • Specify dietary preferences (optional): Select your dietary preferences from the dropdown menu.
  • Click the "Suggest me recipe" button to receive recipe suggestions.
  • Explore alternative ingredient suggestions and recipe options.
  • Enjoy experimenting with different recipes and ingredients!

Contributing 🤝

Contributions are welcome! If you have any suggestions, enhancements, or bug fixes, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

recipe-mixer's People

Contributors

gitesh08 avatar vinay-ghate avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.