Alessio Grancini commited on
Commit
f239e53
·
verified ·
1 Parent(s): 1bf1601

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +4 -4
requirements.txt CHANGED
@@ -1,6 +1,6 @@
1
  # Base requirements
2
  matplotlib>=3.2.2
3
- numpy>=1.21.6
4
  opencv-python>=4.6.0
5
  Pillow>=7.1.2
6
  PyYAML>=5.3.1
@@ -10,9 +10,9 @@ tqdm>=4.64.0
10
  urllib3>=1.26.14
11
 
12
  # ZeroGPU specific requirements
13
- torch==2.1.2 # Specific ZeroGPU supported version
14
- torchvision==0.16.2 # Compatible with torch 2.1.2
15
- gradio==4.44.1 # Specific version for ZeroGPU compatibility
16
  spaces
17
 
18
  # Model specific
 
1
  # Base requirements
2
  matplotlib>=3.2.2
3
+ numpy<2.0.0 # Pin to version 1.x for compatibility
4
  opencv-python>=4.6.0
5
  Pillow>=7.1.2
6
  PyYAML>=5.3.1
 
10
  urllib3>=1.26.14
11
 
12
  # ZeroGPU specific requirements
13
+ torch==2.1.2
14
+ torchvision==0.16.2
15
+ gradio==4.44.1
16
  spaces
17
 
18
  # Model specific