valegro commited on
Commit
8c5b635
·
verified ·
1 Parent(s): ed309ba

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +14 -6
requirements.txt CHANGED
@@ -1,7 +1,15 @@
1
- torch>=2.1
2
- torchvision
3
- transformers>=4.39
4
- groundingdino
5
- segment_anything
 
6
  opencv-python-headless
7
- gradio>=4.20
 
 
 
 
 
 
 
 
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