valegro commited on
Commit
47751ff
·
verified ·
1 Parent(s): 010b878

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +8 -7
requirements.txt CHANGED
@@ -1,15 +1,16 @@
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
 
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