Consulawtech commited on
Commit
91537ce
·
verified ·
1 Parent(s): 04684e6

Fix requirements: loosen pins for Python 3.13 (torch>=2.5.0, scipy>=1.13.0, etc.)

Browse files
Files changed (1) hide show
  1. requirements.txt +29 -32
requirements.txt CHANGED
@@ -1,51 +1,48 @@
1
  # Core
2
- setuptools==69.0.2
3
- wheel==0.42.0
4
 
5
- # Audio processing
6
- librosa==0.10.1
7
- soundfile==0.12.1
8
  pydub==0.25.1
9
- audioread==3.0.1
10
- pooch==1.8.0
11
- platformdirs==4.1.0
12
-
13
- # ML/AI
14
- torch==2.1.0
15
- torchaudio==2.1.0
16
- transformers==4.35.2
17
- accelerate==0.24.1
18
- # NOTE: safetensors is kept as a dep but we no longer force use_safetensors=True
19
- # in from_pretrained — transformers will use it automatically when available.
20
- safetensors==0.4.1
21
- tokenizers==0.15.0
22
 
23
  # Speaker diarization (optional — requires HF_TOKEN secret)
24
- pyannote.audio==3.1.1
25
- speechbrain==0.5.16
26
- omegaconf==2.3.0
27
 
28
- # Visualization
29
- matplotlib==3.8.2
30
 
31
  # API server (app.py)
32
  fastapi==0.104.1
33
- uvicorn==0.24.0
34
  python-multipart>=0.0.9
35
 
36
  # UI
37
  gradio==4.44.0
38
 
39
- # HuggingFace ZeroGPU — installed automatically on HF Spaces, no-op locally.
40
- # Install manually only when developing against a ZeroGPU Space.
41
  spaces>=0.0.1
42
 
43
- # Utilities
44
- pyyaml==6.0.1
45
- numpy==1.24.3
46
- scipy==1.11.4
47
- typing-extensions==4.9.0
48
- packaging==23.2
49
 
50
  # Claude AI post-processing
51
  anthropic>=0.25.0
 
1
  # Core
2
+ setuptools>=69.0.2
3
+ wheel>=0.42.0
4
 
5
+ # Audio processing — loosened for Python 3.13 compatibility
6
+ librosa>=0.10.1
7
+ soundfile>=0.12.1
8
  pydub==0.25.1
9
+ audioread>=3.0.1
10
+ pooch>=1.8.0
11
+ platformdirs>=4.1.0
12
+
13
+ # ML/AI — torch 2.1.x is Python 3.12 max; 2.5+ supports Python 3.13
14
+ torch>=2.5.0
15
+ torchaudio>=2.5.0
16
+ transformers>=4.44.0
17
+ accelerate>=0.33.0
18
+ safetensors>=0.4.1
19
+ tokenizers>=0.19.0
 
 
20
 
21
  # Speaker diarization (optional — requires HF_TOKEN secret)
22
+ pyannote.audio>=3.1.1
23
+ # speechbrain pinned by pyannote — do not re-pin here to avoid conflicts
24
+ omegaconf>=2.3.0
25
 
26
+ # Visualization — 3.9+ for Python 3.13
27
+ matplotlib>=3.9.0
28
 
29
  # API server (app.py)
30
  fastapi==0.104.1
31
+ uvicorn>=0.24.0
32
  python-multipart>=0.0.9
33
 
34
  # UI
35
  gradio==4.44.0
36
 
37
+ # HuggingFace ZeroGPU — only activated on ZeroGPU Spaces via SPACES_ZERO_GPU=1.
 
38
  spaces>=0.0.1
39
 
40
+ # Utilities — scipy 1.13+ for Python 3.13
41
+ pyyaml>=6.0.1
42
+ numpy>=1.26.0
43
+ scipy>=1.13.0
44
+ typing-extensions>=4.9.0
45
+ packaging>=23.2
46
 
47
  # Claude AI post-processing
48
  anthropic>=0.25.0