Extraction_validate / README.md
Monike123's picture
fix: README emoji encoding for HF Spaces YAML validation
7656316
|
Raw
History Blame Contribute Delete
987 Bytes
---
title: DocVerify AI - HR Document Verification
emoji: πŸ”
colorFrom: green
colorTo: blue
sdk: docker
pinned: false
license: mit
app_port: 7860
---
# DocVerify AI
AI-powered HR document verification using Gemini 3 Flash vision, EasyOCR, and forensic forgery detection.
**API runs on port 7860. Set these secrets in Space Settings:**
- `DATABASE_URL` β€” Supabase PostgreSQL connection string
- `GEMINI_API_KEY` β€” Primary Gemini key
- `GEMINI_API_KEYS` β€” Comma-separated failover keys (key2,key3,key4,key5)
- `GEMINI_MODEL` β€” `gemini-3-flash`
- `CORS_ORIGINS` β€” Your Netlify URL (e.g. `https://docverify.netlify.app`)
- `EASYOCR_GPU` β€” `false`
## Endpoints
| Method | Path | Description |
|--------|------|-------------|
| GET | `/health` | Health check |
| POST | `/upload` | Upload document |
| POST | `/analyze/{doc_id}` | Run AI analysis |
| GET | `/status/{doc_id}` | Get result |
| GET | `/documents` | List all |
| GET | `/documents/stats` | Dashboard stats |