Update requirements.txt
Browse filesAdd requests library for URL downloading
- requirements.txt +32 -16
requirements.txt
CHANGED
|
@@ -1,17 +1,33 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
pyannote.audio==3.1.1
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
#
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
#
|
| 16 |
-
|
| 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
|
|
|