Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +14 -24
requirements.txt
CHANGED
|
@@ -1,34 +1,24 @@
|
|
| 1 |
-
|
| 2 |
-
torchvision
|
| 3 |
-
transformers
|
| 4 |
-
gradio
|
| 5 |
-
Pillow
|
| 6 |
-
opencv-python-headless
|
| 7 |
-
ultralytics
|
| 8 |
-
supervision
|
| 9 |
-
huggingface_hub
|
| 10 |
|
| 11 |
-
# Core
|
| 12 |
-
gradio
|
| 13 |
torch
|
| 14 |
-
torchvision
|
| 15 |
-
|
| 16 |
-
# Hugging Face model interface
|
| 17 |
transformers
|
| 18 |
|
| 19 |
-
# Image
|
| 20 |
Pillow
|
| 21 |
-
|
| 22 |
-
# Numerical operations
|
| 23 |
numpy
|
| 24 |
|
| 25 |
-
#
|
| 26 |
-
|
| 27 |
|
| 28 |
-
#
|
| 29 |
-
|
|
|
|
|
|
|
| 30 |
git+https://github.com/CASIA-IVA-Lab/FastSAM.git
|
| 31 |
|
| 32 |
-
#
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
# requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
# Core ML/Torch
|
|
|
|
| 4 |
torch
|
|
|
|
|
|
|
|
|
|
| 5 |
transformers
|
| 6 |
|
| 7 |
+
# Image/Data Handling
|
| 8 |
Pillow
|
|
|
|
|
|
|
| 9 |
numpy
|
| 10 |
|
| 11 |
+
# Web UI
|
| 12 |
+
gradio
|
| 13 |
|
| 14 |
+
# Object Detection/Segmentation Base (Dependency for FastSAM)
|
| 15 |
+
ultralytics
|
| 16 |
+
|
| 17 |
+
# Segmentation Model (Installed from Git)
|
| 18 |
git+https://github.com/CASIA-IVA-Lab/FastSAM.git
|
| 19 |
|
| 20 |
+
# Utility for downloading files
|
| 21 |
+
wget
|
| 22 |
+
|
| 23 |
+
# Often implicitly required by ML libraries, especially vision
|
| 24 |
+
# opencv-python-headless
|