AdarshDRC commited on
Commit
9fd6d94
·
1 Parent(s): dd07839

fix: Adafce crashing

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +3 -2
Dockerfile CHANGED
@@ -121,7 +121,7 @@ except Exception as e:
121
  print("Build continues - ArcFace-only fallback active")
122
  sys.exit(0)
123
  EOF
124
-
125
  EXPOSE 7860
126
 
127
  ENV WEB_CONCURRENCY=1
 
121
  print("Build continues - ArcFace-only fallback active")
122
  sys.exit(0)
123
  EOF
124
+ RUN pip install --no-cache-dir omegaconf
125
  EXPOSE 7860
126
 
127
  ENV WEB_CONCURRENCY=1
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- # requirements.txt — Enterprise Lens V4
2
 
3
  --extra-index-url https://download.pytorch.org/whl/cpu
4
 
@@ -6,7 +6,7 @@
6
  fastapi==0.115.6
7
  uvicorn[standard]==0.32.1
8
  python-multipart==0.0.20
9
- omegaconf
10
  # ── PyTorch CPU-only ─────────────────────────────────────────────
11
  torch==2.4.1+cpu
12
  torchvision==0.19.1+cpu
@@ -19,6 +19,7 @@ safetensors>=0.4.0
19
  tokenizers>=0.20.0
20
  sentencepiece
21
  accelerate>=1.1.0
 
22
 
23
  # ── InsightFace — SCRFD + ArcFace-R100 ───────────────────────────
24
  # insightface 0.7.3 has no pre-built wheel → pip tries to compile C++
 
1
+ # requirements.txt — Enterprise Lens V4 (rebuild: omegaconf)
2
 
3
  --extra-index-url https://download.pytorch.org/whl/cpu
4
 
 
6
  fastapi==0.115.6
7
  uvicorn[standard]==0.32.1
8
  python-multipart==0.0.20
9
+
10
  # ── PyTorch CPU-only ─────────────────────────────────────────────
11
  torch==2.4.1+cpu
12
  torchvision==0.19.1+cpu
 
19
  tokenizers>=0.20.0
20
  sentencepiece
21
  accelerate>=1.1.0
22
+ omegaconf
23
 
24
  # ── InsightFace — SCRFD + ArcFace-R100 ───────────────────────────
25
  # insightface 0.7.3 has no pre-built wheel → pip tries to compile C++