mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
fix(kokoro): Download phonemization model during installation (#9165)
Signed-off-by: Richard Palethorpe <io@richiejp.com>
This commit is contained in:
parent
3d738164b7
commit
520e1ce3cd
1 changed files with 5 additions and 0 deletions
|
|
@ -21,3 +21,8 @@ if [ "x${BUILD_PROFILE}" == "xl4t12" ]; then
|
|||
fi
|
||||
|
||||
installRequirements
|
||||
|
||||
# spaCy is a dependency of misaki (used by kokoro for English phonemization).
|
||||
# Pre-download the model here because at runtime the portable Python environment
|
||||
# has no pip/uv, so spacy's auto-download would fail.
|
||||
python -m spacy download en_core_web_sm
|
||||
|
|
|
|||
Loading…
Reference in a new issue