Skip to content

SOTA Open Source TTS

Fix dependencies (#283)

spicysama06fbf45674b7
diff --git a/pyproject.toml b/pyproject.toml
index 84b0240..9d8f7c9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -13,6 +13,7 @@ classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
+ "numpy<=1.26.4",
"transformers>=4.35.2",
"datasets>=2.14.5",
"lightning>=2.1.0",
diff --git a/start.bat b/start.bat
index b08c301..903a224 100644
--- a/start.bat
+++ b/start.bat
@@ -7,8 +7,6 @@ set PYTHON_CMD=%cd%\fishenv\env\python
set API_FLAG_PATH=%~dp0API_FLAGS.txt
-%PYTHON_CMD% .\tools\download_models.py
-
setlocal enabledelayedexpansion
set "HF_ENDPOINT=https://huggingface.co"
@@ -19,6 +17,7 @@ if "%USE_MIRROR%" == "true" (
)
echo "HF_ENDPOINT: !HF_ENDPOINT!"
echo "NO_PROXY: !no_proxy!"
+%PYTHON_CMD% .\tools\download_models.py
set "API_FLAGS="
set "flags="