wuhp commited on
Commit
0ac5c02
·
verified ·
1 Parent(s): 8eec814

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +10 -1
requirements.txt CHANGED
@@ -1,4 +1,10 @@
1
- gradio>=4.36.1
 
 
 
 
 
 
2
  roboflow>=1.1.28
3
  requests>=2.31.0
4
  huggingface_hub>=0.22.0
@@ -6,8 +12,11 @@ pandas>=2.0.0
6
  matplotlib>=3.7.0
7
  pyyaml>=6.0.1
8
  Pillow>=10.0.0
 
 
9
  torch==2.1.*
10
  torchvision==0.16.*
 
11
  supervisely>=6.0.0
12
  pycocotools>=2.0.7
13
  tensorboard>=2.13.0
 
1
+ # --- hard pin to the last NumPy 1.x ABI that PyTorch 2.1 wheels expect
2
+ numpy==1.26.4
3
+
4
+ # (optional but recommended on HF CPU Spaces to avoid CUDA wheels)
5
+ --extra-index-url https://download.pytorch.org/whl/cpu
6
+
7
+ gradio
8
  roboflow>=1.1.28
9
  requests>=2.31.0
10
  huggingface_hub>=0.22.0
 
12
  matplotlib>=3.7.0
13
  pyyaml>=6.0.1
14
  Pillow>=10.0.0
15
+
16
+ # your pins: these are fine with numpy 1.26.4
17
  torch==2.1.*
18
  torchvision==0.16.*
19
+
20
  supervisely>=6.0.0
21
  pycocotools>=2.0.7
22
  tensorboard>=2.13.0