Jiani Huang commited on
Commit
33e835b
·
verified ·
1 Parent(s): 002af38

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +13 -16
requirements.txt CHANGED
@@ -1,15 +1,24 @@
 
1
  gradio>=4.0.0
2
  spaces>=0.24.0
3
 
 
4
  transformers>=4.40.0
5
  huggingface-hub>=0.23.0
6
  safetensors>=0.4.2
7
  accelerate>=0.30.0
8
 
9
- --extra-index-url https://download.pytorch.org/whl/cu121
10
- torch==2.2.1
11
- torchvision==0.17.1
 
 
 
 
 
 
12
 
 
13
  numpy
14
  opencv-python
15
  pillow
@@ -18,22 +27,10 @@ seaborn
18
  pandas
19
  tqdm
20
  scikit-learn
21
-
22
- # Extra deps from setup.sh
23
- flax
24
- openai
25
  decord
26
-
27
- # spaCy + language model
28
- spacy==3.7.2
29
- spacy_fastlang
30
- # Equivalent to: python -m spacy download en_core_web_lg
31
- https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.7.1/en_core_web_lg-3.7.1-py3-none-any.whl
32
-
33
- # Python ffmpeg bindings (you already install ffmpeg system package via packages.txt)
34
  ffmpeg
35
 
36
- # Local packages from src/ (submodules you checked in)
37
  # Make sure these paths exist in the Space repo:
38
  # src/video-sam2
39
  # src/LASER
 
1
+ # Core UI / Spaces
2
  gradio>=4.0.0
3
  spaces>=0.24.0
4
 
5
+ # Hugging Face stack
6
  transformers>=4.40.0
7
  huggingface-hub>=0.23.0
8
  safetensors>=0.4.2
9
  accelerate>=0.30.0
10
 
11
+ # Extra libs used in your pipeline / scripts
12
+ flax
13
+ openai
14
+
15
+ # spaCy + language detection + English large model
16
+ spacy==3.7.2
17
+ spacy_fastlang
18
+ # Equivalent to: python -m spacy download en_core_web_lg
19
+ https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.7.1/en_core_web_lg-3.7.1-py3-none-any.whl
20
 
21
+ # Numeric / CV / utils
22
  numpy
23
  opencv-python
24
  pillow
 
27
  pandas
28
  tqdm
29
  scikit-learn
 
 
 
 
30
  decord
 
 
 
 
 
 
 
 
31
  ffmpeg
32
 
33
+ # Local repos (your submodules under src/)
34
  # Make sure these paths exist in the Space repo:
35
  # src/video-sam2
36
  # src/LASER