--- title: Glow AI Backend emoji: ✨ colorFrom: pink colorTo: red sdk: docker app_port: 7860 --- # Glow AI - Skincare & Cosmetics AI Platform AI-powered skin analysis and cosmetics matching platform, optimized for the Nigerian market. ## Features - 🧠 **AI Skin Analysis** - Detect 23+ skin conditions from photos - 💄 **Smart Shade Matching** - Find perfect makeup shades for your skin tone - 🛍️ **Product Recommendations** - Personalized skincare and cosmetics recommendations - 🔒 **Privacy First** - Images auto-delete after 24 hours - 🇳🇬 **Nigerian Market** - Products available in Nigeria with NGN pricing ## API Endpoints - `GET /` - Service information - `GET /health` - Health check - `POST /api/analyze-skin` - Analyze skin from image or conditions - `POST /api/cosmetics/match` - Find cosmetic matches - `GET /api/products` - Get product catalog - `GET /gradio` - Web UI interface ## Deployment This space is configured to run with Docker. Environment variables can be set in the Space settings. ## Local Development ```bash # Clone the repository git clone https://huggingface.co/spaces/glow-ai/backend cd backend # Install dependencies pip install -r requirements.txt # Run locally python app.py