kailashjha123/head-swap-tool
Fix: cv2 not defined error - import cv2 at top level + numpy fix
FULL HEAD SWAP: extract entire head (hair+ears+neck), seamless clone blending
PROPER SWAP: inswapper_128 ONNX neural face swap with lazy loading + progress
Add requirements back
CRITICAL FIX: Add Space cardData + restore full Head Swap app
Restore full Head Swap app with lazy loading
MINIMAL TEST: only Gradio hello world to verify layout renders
Minimal requirements for test
Final fix: cv2 also lazy-loaded — zero crash risk at startup
Fix: Zero startup imports that can crash — all heavy imports inside button handler
Fix: use opencv-python-headless for server env + super simple app
v3 - Ultra simple, no heavy imports at startup, lazy loading
Clean requirements with pinned versions
Complete rewrite v2 - lazy loading, no init errors, clean Gradio
Update README for new working InsightFace approach
Complete rewrite: Simple InsightFace-based face swap that works
Update requirements for InsightFace
Fix: FaceFusion requirements
Fix: Replace FLUX with FaceFusion - CPU mode, no gated access needed
Add README
Add requirements.txt
Initial commit: Head Swap Tool with FLUX.2 Klein 9B
initial commit
