Update requirements.txt
Browse files- requirements.txt +17 -9
requirements.txt
CHANGED
|
@@ -1,12 +1,20 @@
|
|
| 1 |
# Requirements for Pyannote Diarization Space
|
| 2 |
# These are compatible versions for HuggingFace Spaces
|
| 3 |
|
| 4 |
-
#
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Requirements for Pyannote Diarization Space
|
| 2 |
# These are compatible versions for HuggingFace Spaces
|
| 3 |
|
| 4 |
+
# --- hard pins to avoid NumPy 2.x issues ---
|
| 5 |
+
numpy==1.26.4
|
| 6 |
+
|
| 7 |
+
# torch/torchaudio matched (CPU wheels auto-install on Spaces)
|
| 8 |
+
torch==2.1.2
|
| 9 |
+
torchaudio==2.1.2
|
| 10 |
+
|
| 11 |
+
# pyannote release known to work with numpy<2
|
| 12 |
+
pyannote.audio==3.1.1
|
| 13 |
+
|
| 14 |
+
# UI (your choice); 4.16.0 works fine with numpy 1.26
|
| 15 |
+
gradio==4.16.0
|
| 16 |
+
|
| 17 |
+
# audio IO: pyannote prefers soundfile backend
|
| 18 |
+
soundfile==0.12.1
|
| 19 |
+
# helpful but optional if you load/convert media
|
| 20 |
+
ffmpeg-python==0.2.0
|