--- 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.