Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +8 -7
requirements.txt
CHANGED
@@ -1,15 +1,16 @@
|
|
1 |
-
# --- core ---
|
2 |
-
torch==2.
|
3 |
-
torchvision==0.
|
4 |
-
|
5 |
|
6 |
-
# ---
|
|
|
7 |
opencv-python-headless
|
8 |
scikit-image
|
9 |
|
10 |
# --- front‑end ---
|
11 |
-
gradio==4.21.0
|
12 |
|
13 |
-
# --- modelli open‑source
|
14 |
git+https://github.com/IDEA-Research/GroundingDINO.git
|
15 |
git+https://github.com/facebookresearch/segment-anything.git
|
|
|
1 |
+
# --- core (versioni compatibili fra loro) ---
|
2 |
+
torch==2.2.2
|
3 |
+
torchvision==0.17.2 # coppia ufficiale per Torch 2.2
|
4 |
+
torchaudio==2.2.2 # non lo usi ma evita warning interni
|
5 |
|
6 |
+
# --- transformers & CV utils ---
|
7 |
+
transformers==4.39.3
|
8 |
opencv-python-headless
|
9 |
scikit-image
|
10 |
|
11 |
# --- front‑end ---
|
12 |
+
gradio==4.21.0
|
13 |
|
14 |
+
# --- modelli open‑source installati da GitHub ---
|
15 |
git+https://github.com/IDEA-Research/GroundingDINO.git
|
16 |
git+https://github.com/facebookresearch/segment-anything.git
|