Spaces:
Build error
Build error
File size: 1,363 Bytes
36a42d4 | 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 49 50 51 52 | ---
title: 🍽️ AI Food Menu Generator
emoji: 📸
colorFrom: yellow
colorTo: red
sdk: docker
pinned: false
app_file: app.py
---
# 🍽️ AI Food Menu Generator
Welcome to the **AI Food Menu Generator** – an intelligent web app that extracts food items from a menu image and generates realistic food images using text-to-image AI.
## 🚀 Features
- 📸 Upload a food menu image
- 🧠 Extract food names using image-to-text models
- 🎨 Generate food images using AI models like `gemma:3b` or similar via Ollama
- 🖼️ View results instantly in your browser
- ⚡ FastAPI backend + Hugging Face Spaces deployment via Docker
## 🧪 Example Usage
1. Upload a food menu image
2. The app extracts menu items (like `Paneer Tikka`, `Burger`)
3. For each item, it generates a realistic food image using text-to-image AI
4. Results are shown with image previews
---
## 🔧 Tech Stack
- **FastAPI** - backend API server
- **Ollama + Gemma** - local model for image generation
- **Docker** - for containerized deployment
- **Hugging Face Spaces** - for live hosting
- **Diffusers & Transformers** - model inference
- **Pillow** - image handling
- **Python** - ❤️
---
## 🐳 Docker Usage (Optional for Local Run)
```bash
docker build -t ai-food-menu .
docker run -p 7860:7860 ai-food-menu
|