Spaces:
Sleeping
Sleeping
File size: 1,747 Bytes
6d2dfdc 30f2a0a 6d2dfdc 30f2a0a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | ---
title: MakeMeDinner AI
emoji: π³
colorFrom: red
colorTo: yellow
sdk: streamlit
sdk_version: 1.40.0
app_file: app.py
pinned: false
license: mit
---
# MakeMeDinner AI β Multimodal Cooking Assistant
**AMD Developer Hackathon Β· Vision & Multimodal AI Track**
## The Full AI Pipeline
| Modality | AI Model | What It Does |
|----------|----------|--------------|
| **Vision In** | `vit-gpt2-image-captioning` (via HF Inference API) | Scans your fridge/pantry photo and identifies available ingredients |
| **Language** | `zephyr-7b-beta` (via HF Inference API) | Generates custom recipes from detected ingredients + your craving description |
| **Audio Out** | Browser `SpeechSynthesisUtterance` | Reads recipes aloud step-by-step as you cook |
| **Vision Out** | `FLUX.1-schnell` / `SDXL` (via HF Inference API) | Generates photorealistic food images for each recipe |
## How It Works
1. **π· Scan** β Upload a photo of your fridge or pantry. Vision AI identifies eggs, tomatoes, spinach, cheese, etc.
2. **π§ Generate** β Type what you're craving ("spicy Mexican", "cozy Italian"). Zephyr-7B crafts a custom recipe.
3. **π Cook** β Tap "Read Aloud" and the browser TTS walks you through every step hands-free.
4. **π¨ Visualize** β Generate a photorealistic food photo of your dish with FLUX.1 to share or inspire.
## Tech Stack
- **Streamlit** β UI framework
- **HuggingFace Inference API** β Vision, LLM, and text-to-image models (zero local GPU)
- **Pillow** β Image processing
- **Browser Web Speech API** β Text-to-speech
## Setup
```bash
pip install -r requirements.txt
HF_TOKEN=your_token streamlit run app.py
```
Requires a HuggingFace token with Inference API access for full multimodal features.
|