Edwardx001 commited on
Commit
c8010cb
·
verified ·
1 Parent(s): a8d610a

Update requirements.txt

Browse files

Add requests library for URL downloading

Files changed (1) hide show
  1. requirements.txt +32 -16
requirements.txt CHANGED
@@ -1,17 +1,33 @@
1
- numpy<2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  pyannote.audio==3.1.1
3
- soundfile
4
- requests
5
- torch
6
- torchaudio
7
-
8
- # keep HF startup toolkit compatible with the Torch in the image
9
- transformers==4.30.2
10
- sentence-transformers==2.2.2
11
- accelerate<0.27
12
- protobuf<5
13
- onnx<1.16
14
-
15
- # critical pins to satisfy both sentence-transformers and diffusers imports
16
- huggingface-hub==0.19.4
17
- diffusers==0.24.0
 
1
+ # Requirements for Pyannote Speaker Diarization Custom Handler
2
+ # HuggingFace Inference Endpoint
3
+ # Version-locked for stability and compatibility (tested working combination)
4
+
5
+ # NumPy - MUST be < 2.0 for pyannote.audio compatibility
6
+ numpy>=1.24.0,<2.0.0
7
+
8
+ # PyTorch - specific versions that work together
9
+ torch==2.1.2
10
+ torchaudio==2.1.2
11
+
12
+ # HuggingFace ecosystem - compatible versions
13
+ # huggingface-hub must be 0.21+ for split_torch_state_dict_into_shards
14
+ transformers==4.36.2
15
+ huggingface-hub==0.21.4
16
+ sentence-transformers==2.3.1
17
+
18
+ # Core pyannote dependency
19
  pyannote.audio==3.1.1
20
+
21
+ # Audio processing
22
+ soundfile==0.12.1
23
+ librosa==0.10.1
24
+
25
+ # Additional dependencies for pyannote
26
+ onnxruntime==1.16.3
27
+ asteroid-filterbanks==0.4.0
28
+
29
+ # HTTP requests for URL downloading
30
+ requests==2.31.0
31
+
32
+ # Ensure compatibility
33
+ scipy==1.11.4