Create README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,46 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk:
|
| 7 |
-
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned: false
|
| 10 |
-
short_description: for cos and skincare
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Glow AI Backend
|
| 3 |
+
emoji: ✨
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: red
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 7860
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# Glow AI - Skincare & Cosmetics AI Platform
|
| 11 |
+
|
| 12 |
+
AI-powered skin analysis and cosmetics matching platform, optimized for the Nigerian market.
|
| 13 |
+
|
| 14 |
+
## Features
|
| 15 |
+
|
| 16 |
+
- 🧠 **AI Skin Analysis** - Detect 23+ skin conditions from photos
|
| 17 |
+
- 💄 **Smart Shade Matching** - Find perfect makeup shades for your skin tone
|
| 18 |
+
- 🛍️ **Product Recommendations** - Personalized skincare and cosmetics recommendations
|
| 19 |
+
- 🔒 **Privacy First** - Images auto-delete after 24 hours
|
| 20 |
+
- 🇳🇬 **Nigerian Market** - Products available in Nigeria with NGN pricing
|
| 21 |
+
|
| 22 |
+
## API Endpoints
|
| 23 |
+
|
| 24 |
+
- `GET /` - Service information
|
| 25 |
+
- `GET /health` - Health check
|
| 26 |
+
- `POST /api/analyze-skin` - Analyze skin from image or conditions
|
| 27 |
+
- `POST /api/cosmetics/match` - Find cosmetic matches
|
| 28 |
+
- `GET /api/products` - Get product catalog
|
| 29 |
+
- `GET /gradio` - Web UI interface
|
| 30 |
+
|
| 31 |
+
## Deployment
|
| 32 |
+
|
| 33 |
+
This space is configured to run with Docker. Environment variables can be set in the Space settings.
|
| 34 |
+
|
| 35 |
+
## Local Development
|
| 36 |
+
|
| 37 |
+
```bash
|
| 38 |
+
# Clone the repository
|
| 39 |
+
git clone https://huggingface.co/spaces/glow-ai/backend
|
| 40 |
+
cd backend
|
| 41 |
+
|
| 42 |
+
# Install dependencies
|
| 43 |
+
pip install -r requirements.txt
|
| 44 |
+
|
| 45 |
+
# Run locally
|
| 46 |
+
python app.py
|