Princeaka commited on
Commit
61c0672
·
verified ·
1 Parent(s): dc7e091

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +24 -10
requirements.txt CHANGED
@@ -1,19 +1,30 @@
1
- # Core ML & HF
 
 
2
  transformers>=4.30.0
3
  diffusers>=0.19.0
4
  accelerate>=0.20.0
5
  huggingface-hub>=0.13.0
6
  safetensors
7
 
8
- # Torch (leave pip to pick correct wheel for the environment)
 
 
9
  torch>=2.0.0
10
  torchvision>=0.15.0
11
  torchaudio>=2.0.0
12
 
13
- # Gradio for UI
 
 
14
  gradio>=3.35.0
 
 
 
15
 
16
- # Audio
 
 
17
  librosa>=0.9.2
18
  soundfile>=0.12.1
19
  SpeechRecognition>=3.8.1
@@ -21,25 +32,28 @@ gTTS>=2.3.1
21
  webrtcvad>=2.0.10
22
  pydub>=0.25.1
23
 
24
- # Image & video
 
 
25
  Pillow>=9.5.0
26
  opencv-python-headless>=4.7.0
27
  imageio>=2.31.1
28
  imageio-ffmpeg>=0.4.8
29
- moviepy>=1.0.3
30
 
31
- # Documents
 
 
32
  pymupdf>=1.22.0
33
  python-docx>=0.8.11
34
  pdf2image>=1.16.0
35
 
 
36
  # Utilities
 
37
  numpy>=1.24.0
38
  tqdm
39
  langdetect
40
  protobuf>=3.20.0
41
- huggingface-hub
42
-
43
- # Optional but often useful
44
  sentencepiece
45
  tokenizers
 
1
+ # =========================
2
+ # Core ML & Hugging Face
3
+ # =========================
4
  transformers>=4.30.0
5
  diffusers>=0.19.0
6
  accelerate>=0.20.0
7
  huggingface-hub>=0.13.0
8
  safetensors
9
 
10
+ # =========================
11
+ # Torch (CPU-safe; HF picks correct wheel)
12
+ # =========================
13
  torch>=2.0.0
14
  torchvision>=0.15.0
15
  torchaudio>=2.0.0
16
 
17
+ # =========================
18
+ # Gradio UI
19
+ # =========================
20
  gradio>=3.35.0
21
+ fastapi>=0.95.0
22
+ uvicorn>=0.22.0
23
+ python-multipart>=0.0.6
24
 
25
+ # =========================
26
+ # Audio Processing
27
+ # =========================
28
  librosa>=0.9.2
29
  soundfile>=0.12.1
30
  SpeechRecognition>=3.8.1
 
32
  webrtcvad>=2.0.10
33
  pydub>=0.25.1
34
 
35
+ # =========================
36
+ # Image & Video Processing
37
+ # =========================
38
  Pillow>=9.5.0
39
  opencv-python-headless>=4.7.0
40
  imageio>=2.31.1
41
  imageio-ffmpeg>=0.4.8
42
+ moviepy[optional]>=1.0.3 # ensures moviepy.editor works
43
 
44
+ # =========================
45
+ # Document Processing
46
+ # =========================
47
  pymupdf>=1.22.0
48
  python-docx>=0.8.11
49
  pdf2image>=1.16.0
50
 
51
+ # =========================
52
  # Utilities
53
+ # =========================
54
  numpy>=1.24.0
55
  tqdm
56
  langdetect
57
  protobuf>=3.20.0
 
 
 
58
  sentencepiece
59
  tokenizers