A newer version of the Gradio SDK is available:
5.35.0
metadata
title: Inverse Cooking Version 2
emoji: π
colorFrom: purple
colorTo: green
sdk: gradio
sdk_version: 5.32.0
app_file: app.py
pinned: false
license: mit
short_description: Generate recipes from food images using Facebook's model.
Inverse Cooking - Recipe Generator from Images π½οΈ
This Space deploys the Inverse Cooking model developed by Facebook AI Research (FAIR).
Upload a food image and receive a predicted recipe with ingredients and cooking instructions.
β οΈ This model and code were originally developed by facebookresearch/inversecooking.
This deployment is for demonstration purposes only and does not claim ownership of the model or training data.
π§ How it works
- A Transformer-based encoder-decoder architecture takes an image of food.
- It predicts a list of ingredients.
- Based on the predicted ingredients, it generates cooking instructions.
π§ Model Info
- Encoder: ResNet-based visual encoder
- Decoder: Transformer decoder
- Trained on: Recipe1M+ dataset
π License
This deployment uses the original code and model weights licensed under MIT License from FacebookResearch.