Fixed espeak backend erroring while initilizating causing espeak fallback to silently fail

This commit is contained in:
Fireblade 2025-02-11 18:08:36 -05:00
parent 84f3b8b4cb
commit 8ea8e68b61
2 changed files with 2 additions and 3 deletions

View file

@ -23,7 +23,7 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
mv /root/.local/bin/uvx /usr/local/bin/
# Create non-root user and set up directories and permissions
RUN useradd -m -u 1000 appuser && \
RUN useradd -m -u 1001 appuser && \
mkdir -p /app/api/src/models/v1_0 && \
chown -R appuser:appuser /app

View file

@ -18,8 +18,6 @@ dependencies = [
"scipy==1.14.1",
# Audio processing
"soundfile==0.13.0",
# Text processing
"phonemizer==3.3.0",
"regex==2024.11.6",
# Utilities
"aiofiles==23.2.1",
@ -38,6 +36,7 @@ dependencies = [
"spacy==3.7.2",
"en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl",
"inflect>=7.5.0",
"phonemizer-fork>=3.3.2",
]
[project.optional-dependencies]