Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +14 -6
requirements.txt
CHANGED
@@ -1,7 +1,15 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
6 |
opencv-python-headless
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# --- core ---
|
2 |
+
torch==2.1.2 # CPU build più stabile negli Spaces
|
3 |
+
torchvision==0.16.2
|
4 |
+
transformers==4.39.3 # o più recente, purché >=4.39
|
5 |
+
|
6 |
+
# --- visione & utilità ---
|
7 |
opencv-python-headless
|
8 |
+
scikit-image
|
9 |
+
|
10 |
+
# --- front‑end ---
|
11 |
+
gradio==4.21.0 # Streamlit non serve, restiamo su Gradio
|
12 |
+
|
13 |
+
# --- modelli open‑source (installazione via git) ---
|
14 |
+
git+https://github.com/IDEA-Research/GroundingDINO.git
|
15 |
+
git+https://github.com/facebookresearch/segment-anything.git
|