WSLINMSAI commited on
Commit
fba6f74
·
verified ·
1 Parent(s): 4d45d00

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +5 -7
requirements.txt CHANGED
@@ -1,13 +1,11 @@
1
- # Use PyTorch CPU wheels
2
  --extra-index-url https://download.pytorch.org/whl/cpu
3
  torch==2.3.1+cpu
4
  torchvision==0.18.1+cpu
5
 
6
- # App deps
 
 
 
7
  gradio==4.44.0
8
  opencv-python-headless
9
- numpy
10
-
11
- # Build detectron2 for the Torch/Python above
12
- git+https://github.com/facebookresearch/detectron2.git
13
-
 
 
1
  --extra-index-url https://download.pytorch.org/whl/cpu
2
  torch==2.3.1+cpu
3
  torchvision==0.18.1+cpu
4
 
5
+ # Prebuilt Detectron2 wheel for CPU + Torch 2.3 (avoids building from source)
6
+ -f https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch2.3/index.html
7
+ detectron2==0.6
8
+
9
  gradio==4.44.0
10
  opencv-python-headless
11
+ numpy