--- title: KYC Document Validator emoji: 🪪 colorFrom: blue colorTo: indigo sdk: docker app_port: 7860 pinned: false --- # KYC Document Validator FastAPI service that validates Indian PAN and Aadhaar cards using a local vision-language model (Qwen2-VL-2B). **Testing only.** Use sample/dummy documents — do not upload real personal data to a public Space. For production with real PII, self-host in-region. Endpoints: - `POST /validate-document` (form fields: `doc_type` = pan|aadhaar, `file`) - `POST /validate-pan` (form field: `file`) - `POST /validate-aadhaar` (form field: `file`) - `GET /health`