Food-Menu / README.md
hardik-2004's picture
Upload folder using huggingface_hub
36a42d4 verified
metadata
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)

docker build -t ai-food-menu .

docker run -p 7860:7860 ai-food-menu