Spaces:
Running
Running
Michael Hu
commited on
Commit
·
2d46a24
1
Parent(s):
67452cc
force package version
Browse files- pyproject.toml +1 -1
- requirements.txt +5 -2
pyproject.toml
CHANGED
@@ -27,7 +27,7 @@ ffmpeg-python = ">=0.2"
|
|
27 |
# { version = ">=2.0,<3.0", source = "pytorch-mac", markers = "sys_platform == 'darwin'" }
|
28 |
#]
|
29 |
torch = { version = ">=2.0,<3.0" }
|
30 |
-
transformers = { version = ">=4.
|
31 |
TTS = ">=0.20,<1.0"
|
32 |
|
33 |
# Platform-specific audio dependencies
|
|
|
27 |
# { version = ">=2.0,<3.0", source = "pytorch-mac", markers = "sys_platform == 'darwin'" }
|
28 |
#]
|
29 |
torch = { version = ">=2.0,<3.0" }
|
30 |
+
transformers = { version = ">=4.33", extras = ["audio"] }
|
31 |
TTS = ">=0.20,<1.0"
|
32 |
|
33 |
# Platform-specific audio dependencies
|
requirements.txt
CHANGED
@@ -1,10 +1,13 @@
|
|
1 |
streamlit>=1.31,<2.0
|
2 |
pydub>=0.25
|
3 |
-
python-dotenv>=1.0
|
4 |
nltk>=3.8
|
5 |
librosa>=0.10
|
6 |
soundfile>=0.12
|
7 |
ffmpeg-python>=0.2
|
8 |
torch>=2.0,<3.0
|
9 |
transformers[audio]>=4.33
|
10 |
-
TTS>=0.20,<1.0
|
|
|
|
|
|
|
|
|
|
1 |
streamlit>=1.31,<2.0
|
2 |
pydub>=0.25
|
|
|
3 |
nltk>=3.8
|
4 |
librosa>=0.10
|
5 |
soundfile>=0.12
|
6 |
ffmpeg-python>=0.2
|
7 |
torch>=2.0,<3.0
|
8 |
transformers[audio]>=4.33
|
9 |
+
TTS>=0.20,<1.0
|
10 |
+
|
11 |
+
numpy<1.28 # 强制使用 NumPy 1.x 版本
|
12 |
+
scipy~=1.11.0 # 与 NumPy 1.x 兼容的 SciPy 版本
|
13 |
+
scikit-learn~=1.3.0 # 兼容旧版 NumPy 的 scikit-learn
|