Spaces:
Sleeping
Sleeping
Commit History
-
feat: enable retinaface detector, download retinaface.h5 from HF Hub during build
hoda.fakharbb776bc -
fix: stop 500 crash + reliable model download from HF Hub
hoda.fakhar- ml_engine.py: fallback result now includes gender/race/emotion keys so analysis_result.html template never raises KeyError -> no more 500 - recognition_routes.py: use shared analyzer singleton (removes duplicate FaceAnalyzer instance that wasted memory) - build_models.py: try Hodfa71/deepface-weights HF Hub first, fall back to GitHub; HF Hub is fast/reliable within HF infrastructureff31e2d -
fix: OOM fix - models baked into Docker image, mobile responsive, 1 worker
hoda.fakharab8cebe