AdarshDRC commited on
Commit
f52e620
·
1 Parent(s): 4d03437

fix: face not detecting

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +29 -1
Dockerfile CHANGED
@@ -27,7 +27,7 @@ RUN pip install --no-cache-dir \
27
  RUN pip install --no-cache-dir onnxruntime
28
 
29
  # ── Step 3: insightface ───────────────────────────────────────────
30
- RUN pip install --no-cache-dir --prefer-binary insightface
31
 
32
  # ── Step 4: Remaining requirements ───────────────────────────────
33
  COPY requirements.txt .
 
27
  RUN pip install --no-cache-dir onnxruntime
28
 
29
  # ── Step 3: insightface ───────────────────────────────────────────
30
+ RUN pip install --no-cache-dir --prefer-binary "insightface>=0.7.3"
31
 
32
  # ── Step 4: Remaining requirements ───────────────────────────────
33
  COPY requirements.txt .
requirements.txt CHANGED
@@ -47,4 +47,32 @@ pinecone
47
  cloudinary
48
  Pillow
49
  numpy
50
- inflect
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  cloudinary
48
  Pillow
49
  numpy
50
+ inflect
51
+
52
+
53
+
54
+ # Enterprise Lens V3 — requirements.txt
55
+
56
+ # ── Core API ─────────────────────────────────────────────────────
57
+ fastapi
58
+ uvicorn[standard]
59
+ python-multipart
60
+ aiohttp
61
+ loguru
62
+
63
+ # ── AI / ML ──────────────────────────────────────────────────────
64
+ torch
65
+ torchvision
66
+ transformers
67
+ ultralytics
68
+
69
+ # ── InsightFace — install wheel deps first ───────────────────────
70
+ # numpy<2.0 must be installed BEFORE insightface (see Dockerfile)
71
+ numpy<2.0
72
+ cython
73
+ # onnxruntime — required by insightface
74
+ onnxruntime>=1.16.0
75
+ # insightface — must be >=0.7.3 for buffalo_sc model support
76
+ insightface>=0.7.3
77
+
78
+