feat: Update en-core-web-sm dependency to use direct URL for installation

This commit is contained in:
JB
2025-10-06 16:19:28 -07:00
parent 477c5055b4
commit 0d74171bb5
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ RUN pip install --upgrade pip \
else \ else \
pip install torch torchvision torchaudio --index-url "$TORCH_INDEX_URL"; \ pip install torch torchvision torchaudio --index-url "$TORCH_INDEX_URL"; \
fi \ fi \
&& pip install --no-cache-dir . en-core-web-sm==3.8.0 && pip install --no-cache-dir . \
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl
ENV ABOGEN_HOST=0.0.0.0 \ ENV ABOGEN_HOST=0.0.0.0 \
ABOGEN_PORT=8808 ABOGEN_PORT=8808
+1 -1
View File
@@ -17,7 +17,7 @@ dependencies = [
"misaki[zh]>=0.9.4", "misaki[zh]>=0.9.4",
"ebooklib>=0.19", "ebooklib>=0.19",
"beautifulsoup4>=4.13.4", "beautifulsoup4>=4.13.4",
"en-core-web-sm==3.8.0", "en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl",
"PyMuPDF>=1.25.5", "PyMuPDF>=1.25.5",
"platformdirs>=4.3.7", "platformdirs>=4.3.7",
"soundfile>=0.13.1", "soundfile>=0.13.1",