Update requirements.txt
Browse files- requirements.txt +29 -17
requirements.txt
CHANGED
|
@@ -1,17 +1,29 @@
|
|
| 1 |
-
# Requirements for Pyannote Diarization Space
|
| 2 |
-
# CRITICAL: Install NumPy 1.x FIRST before anything else
|
| 3 |
-
# This MUST be installed before torch and pyannote to avoid NumPy 2.x
|
| 4 |
-
|
| 5 |
-
# NumPy 1.x (pyannote.audio 3.1.1 is NOT compatible with NumPy 2.x)
|
| 6 |
-
numpy==1.26.4
|
| 7 |
-
|
| 8 |
-
# PyTorch (compatible with NumPy 1.26)
|
| 9 |
-
torch==2.1.2
|
| 10 |
-
torchaudio==2.1.2
|
| 11 |
-
|
| 12 |
-
# Pyannote (requires NumPy < 2.0)
|
| 13 |
-
pyannote.audio==3.1.1
|
| 14 |
-
|
| 15 |
-
# Gradio (use older version compatible with NumPy 1.x)
|
| 16 |
-
gradio==4.16.0
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Requirements for Pyannote Diarization Space
|
| 2 |
+
# CRITICAL: Install NumPy 1.x FIRST before anything else
|
| 3 |
+
# This MUST be installed before torch and pyannote to avoid NumPy 2.x
|
| 4 |
+
|
| 5 |
+
# NumPy 1.x (pyannote.audio 3.1.1 is NOT compatible with NumPy 2.x)
|
| 6 |
+
# numpy==1.26.4
|
| 7 |
+
|
| 8 |
+
# PyTorch (compatible with NumPy 1.26)
|
| 9 |
+
# torch==2.1.2
|
| 10 |
+
# torchaudio==2.1.2
|
| 11 |
+
|
| 12 |
+
# Pyannote (requires NumPy < 2.0)
|
| 13 |
+
# pyannote.audio==3.1.1
|
| 14 |
+
|
| 15 |
+
# Gradio (use older version compatible with NumPy 1.x)
|
| 16 |
+
# gradio==4.16.0
|
| 17 |
+
|
| 18 |
+
# core
|
| 19 |
+
pyannote.audio>=3.1.1
|
| 20 |
+
|
| 21 |
+
torch # keep unpinned to use the CUDA build already on the image
|
| 22 |
+
torchaudio
|
| 23 |
+
soundfile
|
| 24 |
+
requests
|
| 25 |
+
|
| 26 |
+
# make HF toolkit happy without pulling too-new features
|
| 27 |
+
transformers==4.35.2
|
| 28 |
+
sentence-transformers==2.2.2
|
| 29 |
+
|