Update requirements.txt
Browse files- requirements.txt +8 -6
requirements.txt
CHANGED
|
@@ -1,19 +1,18 @@
|
|
| 1 |
-
#
|
| 2 |
-
gradio==
|
| 3 |
|
| 4 |
-
#
|
| 5 |
-
numpy==1.26.2
|
| 6 |
scipy==1.11.4
|
| 7 |
soundfile==0.12.1
|
| 8 |
|
| 9 |
-
# PyTorch CPU stack (must match across torch/torchaudio/vision)
|
| 10 |
torch==2.1.1
|
| 11 |
torchaudio==2.1.1
|
| 12 |
torchvision==0.16.1
|
| 13 |
|
| 14 |
-
# Enhancement libs
|
| 15 |
speechbrain==0.5.16
|
| 16 |
resemble-enhance==0.0.1
|
|
|
|
| 17 |
librosa==0.10.1
|
| 18 |
matplotlib==3.8.1
|
| 19 |
resampy==0.4.2
|
|
@@ -21,3 +20,6 @@ omegaconf==2.3.0
|
|
| 21 |
ptflops==0.7.1.2
|
| 22 |
celluloid==0.2.0
|
| 23 |
tabulate==0.8.10
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Pin Gradio to the version required by resemble-enhance
|
| 2 |
+
gradio==4.8.0
|
| 3 |
|
| 4 |
+
# Your original pins
|
| 5 |
+
numpy==1.26.2
|
| 6 |
scipy==1.11.4
|
| 7 |
soundfile==0.12.1
|
| 8 |
|
|
|
|
| 9 |
torch==2.1.1
|
| 10 |
torchaudio==2.1.1
|
| 11 |
torchvision==0.16.1
|
| 12 |
|
|
|
|
| 13 |
speechbrain==0.5.16
|
| 14 |
resemble-enhance==0.0.1
|
| 15 |
+
|
| 16 |
librosa==0.10.1
|
| 17 |
matplotlib==3.8.1
|
| 18 |
resampy==0.4.2
|
|
|
|
| 20 |
ptflops==0.7.1.2
|
| 21 |
celluloid==0.2.0
|
| 22 |
tabulate==0.8.10
|
| 23 |
+
|
| 24 |
+
# Ensure a compatible pydantic for Gradio 4.x (and avoid v1/v2 mismatch)
|
| 25 |
+
pydantic>=2,<2.12
|