drdudddd commited on
Commit
5b5d74d
Β·
verified Β·
1 Parent(s): 27ab04b

Create requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +23 -0
requirements.txt ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # =============================================
2
+ # requirements.txt fΓΌr Nackt-Analyzer (2025/2026)
3
+ # =============================================
4
+
5
+ gradio>=4.44.0,<5.0.0 # stabile Version vor Breaking Changes in 5.x
6
+ pillow>=10.3.0 # PIL – Bild laden, crop, resize, BytesIO
7
+ numpy>=1.26.0,<2.0.0 # Array-Operationen, cv2/nudenet kompatibel
8
+ opencv-python-headless>=4.9.0.80 # cv2 ohne GUI β†’ deutlich kleiner & servertauglich
9
+
10
+ nudenet>=0.0.7 # Nackterkennung (ONNX-basiert)
11
+ onnxruntime>=1.18.0 # CPU-Version (Standard)
12
+
13
+ # ──────────────────────────────────────────────
14
+ # Optionale GPU-Beschleunigung (deutlich schneller!)
15
+ # torch==2.4.1+cu121 # oder passende CUDA-Version
16
+ # torchvision==0.19.1+cu121
17
+ # --extra-index-url https://download.pytorch.org/whl/cu121
18
+ # onnxruntime-gpu>=1.18.0 # ← statt onnxruntime, wenn GPU vorhanden
19
+
20
+ # ──────────────────────────────────────────────
21
+ # nur wenn du zusΓ€tzliche Features brauchst:
22
+ # python-multipart>=0.0.9 # manchmal bei Gradio File-Uploads nΓΆtig
23
+ # aiofiles>=23.2.1 # async File-Handling (optional)