Spaces:
Runtime error
Runtime error
metadata
title: ChefCode - AI Restaurant Management
emoji: π³
colorFrom: blue
colorTo: gray
sdk: docker
sdk_version: '1.0'
app_file: app.py
pinned: false
π³ ChefCode - AI Restaurant Management
An AI-powered restaurant inventory and recipe management system with voice recognition and web recipe search.
π Features
- AI Assistant: Voice and text commands for inventory and recipe management
- Web Recipe Search: Find and import recipes from TheMealDB
- Inventory Management: Track ingredients with quantities and prices
- Recipe Management: Create, edit, and manage recipes
- Voice Recognition: Hands-free operation with continuous conversation
π― Quick Start
- Open the app - The interface will load automatically
- Enable microphone when prompted for voice commands
- Try these commands:
- π€ "Add 5 kg of flour at 2 euros per kg"
- π€ "Search for pasta recipes"
- π€ "Add recipe Pizza with flour 500 grams and tomato 200 ml"
π€ AI Assistant Commands
Inventory Management
- "Add 5 kg of rice at 2.50 euros per kg"
- "Update flour to 10 kg"
- "Remove tomatoes from inventory"
- "How much rice do we have?"
Recipe Management
- "Add recipe Pizza with flour 100 kg and tomato sauce 200 ml"
- "Search for Italian pasta recipes"
- "Edit recipe Pizza by adding 2 grams of salt"
- "Show me all dessert recipes"
π Web Recipe Search
- Go to Recipes section
- Click "Search Recipe from Web"
- Search for any recipe (e.g., "Italian pasta", "chicken soup")
- View results and import with AI ingredient mapping
π¨ Interface
- Modern Design: Clean, responsive interface
- Voice-First: Optimized for hands-free operation
- Color-Coded Results: Visual feedback for ingredient matching
- Real-Time Updates: Live data synchronization
π§ Technical Details
- Backend: FastAPI with SQLite database
- AI Models: OpenAI GPT-4o-mini and GPT-o3
- Frontend: Modern web interface with voice recognition
- External APIs: TheMealDB for recipe discovery
π Database
The app uses SQLite for data storage with the following tables:
inventory_items- Inventory datarecipes- Recipe data with JSON ingredientstasks- Production tasks
π Enjoy ChefCode!
Perfect for restaurant managers, chefs, and kitchen staff who want to streamline their operations with AI-powered tools.
Start by clicking the microphone button and saying your first command! π€β¨