Spaces:
Running
on
Zero
Running
on
Zero
Update requirements.txt
Browse files- requirements.txt +21 -19
requirements.txt
CHANGED
@@ -1,22 +1,24 @@
|
|
1 |
-
# Core
|
2 |
-
gradio>=3.50
|
3 |
-
torch>=2.0
|
4 |
-
torchvision>=0.15
|
5 |
-
ultralytics>=8.0
|
6 |
-
opencv-python>=4.7
|
|
|
|
|
7 |
|
8 |
-
#
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
timeout-decorator>=0.5.0 # Timeout handling for long-running tasks
|
13 |
-
tqdm>=4.64 # Progress bars for iterative tasks
|
14 |
|
15 |
-
#
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
|
20 |
-
#
|
21 |
-
|
22 |
-
|
|
|
|
|
|
1 |
+
# === Core Runtime ===
|
2 |
+
gradio>=3.50 # Web interface
|
3 |
+
torch>=2.0 # Deep learning base
|
4 |
+
torchvision>=0.15 # For DeepLabV3 and image utilities
|
5 |
+
ultralytics>=8.0 # YOLOv5/v8/11 model loader
|
6 |
+
opencv-python>=4.7 # Video/image input/output
|
7 |
+
numpy>=1.21 # Array math
|
8 |
+
Pillow>=9.0 # Image loading, drawing
|
9 |
|
10 |
+
# === Hugging Face Models ===
|
11 |
+
transformers>=4.30 # SegFormer + tokenizer
|
12 |
+
huggingface-hub>=0.13.3 # For model downloads via hf_hub_download
|
13 |
+
sentencepiece # Required by some HF models and processors
|
|
|
|
|
14 |
|
15 |
+
# === Depth Estimation (MiDaS, DPT) ===
|
16 |
+
# MiDaS needs scipy and possibly timm depending on config
|
17 |
+
scipy>=1.7
|
18 |
+
timm>=0.6.12 # For DPT/ViT backbones (needed for some MiDaS/DPT HF models)
|
19 |
|
20 |
+
# === Utility and Execution ===
|
21 |
+
requests>=2.28 # For downloading remote media
|
22 |
+
timeout-decorator>=0.5.0 # For analysis timeout handling
|
23 |
+
tqdm>=4.64 # Progress bar for batch ops
|
24 |
+
pandas>=1.3 # Optional: JSON structuring / metrics
|