Shawon16 commited on
Commit
e20213e
·
verified ·
1 Parent(s): 9dc1dec

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +5 -9
requirements.txt CHANGED
@@ -3,16 +3,12 @@ opencv-python-headless
3
  imutils
4
  numpy<2
5
  matplotlib
 
 
 
6
 
7
- # Modern CPU-only PyTorch build (compatible with Hugging Face Spaces)
 
8
  torch==2.3.0+cpu
9
  torchvision==0.18.0+cpu
10
  torchaudio==2.3.0
11
- --index-url https://download.pytorch.org/whl/cpu
12
-
13
- # Hugging Face + PytorchVideo
14
- transformers>=4.43.0
15
- pytorchvideo>=0.1.5
16
-
17
- # UI
18
- gradio>=4.0.0
 
3
  imutils
4
  numpy<2
5
  matplotlib
6
+ transformers>=4.43.0
7
+ pytorchvideo>=0.1.5
8
+ gradio>=4.0.0
9
 
10
+ # Install PyTorch CPU-only wheels from their index
11
+ --extra-index-url https://download.pytorch.org/whl/cpu
12
  torch==2.3.0+cpu
13
  torchvision==0.18.0+cpu
14
  torchaudio==2.3.0