/KitchenTeacher

This Gradio app predicts dishes from uploaded food images, provides recipe details, and suggests YouTube video guides for cooking. Simplify your cooking experience with easy-to-use interface. user-friendly and informative, enhancing the cooking experience.

Primary LanguagePythonMIT LicenseMIT


KitchenTeacher

KitchenTeacher is an interactive web application that predicts dishes from food images, provides YouTube recipe videos, and fetches detailed recipe instructions. This project utilizes Gradio for the user interface and leverages Hugging Face's model inference capabilities for dish prediction.

Features

  • Dish Prediction: Upload an image of a food item, and KitchenTeacher will predict the dish using a pre-trained model from Hugging Face.
  • YouTube Recipe Videos: Once the dish is predicted, KitchenTeacher fetches YouTube recipe videos related to the predicted dish, allowing users to explore different recipes.
  • Detailed Recipe Instructions: Additionally, KitchenTeacher fetches detailed recipe instructions from TheMealDB API, providing users with step-by-step instructions and ingredient lists.

Installation

To run KitchenTeacher locally, follow these steps:

  1. Clone the repository:

    git clone https://huggingface.co/spaces/Slfagrouche/KitchenTeacher
  2. Navigate to the project directory:

    cd KitchenTeacher
  3. Install dependencies:

    pip install -r requirements.txt
  4. Run the application:

    python your_gradio_script.py

    Or refer to setup instructions for more details on setting up KitchenTeacher on Windows or macOS.

Usage

  1. Open the application in your web browser.
  2. Upload an image of a food item.
  3. KitchenTeacher will predict the dish, fetch YouTube recipe videos, and provide detailed recipe instructions.

Try it Out

You can try out the live version of KitchenTeacher by visiting the following link:

KitchenTeacher Live App

Please note that the live app may have limited functionality compared to running the application locally.

Contributing

Contributions are welcome! If you'd like to contribute to KitchenTeacher, please feel free!

License

This project is licensed under the MIT License - Hugging Face.

Acknowledgements

  • This project makes use of Gradio for building the interactive interface.
  • Model inference is powered by Hugging Face.
  • Recipe data is fetched from TheMealDB.

Support

For any questions or issues, please open an issue on GitHub.