Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,3 @@
|
|
| 1 |
-
# --- Hugging Face fixes (add these 4 lines at the very top) ---
|
| 2 |
-
import os
|
| 3 |
-
if os.path.exists("/usr/bin/apt"):
|
| 4 |
-
import subprocess, sys
|
| 5 |
-
subprocess.check_call([sys.executable, "-m", "pip", "install", "insightface==0.7.3", "faiss-gpu", "deep-sort-realtime", "ultralytics", "onnxruntime-gpu", "--no-cache-dir"])
|
| 6 |
-
# ---------------------------------------------------------------
|
| 7 |
# SECUREFACE ID - FINAL UNIFIED APP
|
| 8 |
# Privacy by default + Accurate Recognition + Persistent Tracking
|
| 9 |
# Combines your two perfect apps into one
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# SECUREFACE ID - FINAL UNIFIED APP
|
| 2 |
# Privacy by default + Accurate Recognition + Persistent Tracking
|
| 3 |
# Combines your two perfect apps into one
|