Skip to content

Commit 520e1ce

Browse files
authored
fix(kokoro): Download phonemization model during installation (#9165)
Signed-off-by: Richard Palethorpe <io@richiejp.com>
1 parent 3d73816 commit 520e1ce

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

backend/python/kokoro/install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,8 @@ if [ "x${BUILD_PROFILE}" == "xl4t12" ]; then
2121
fi
2222

2323
installRequirements
24+
25+
# spaCy is a dependency of misaki (used by kokoro for English phonemization).
26+
# Pre-download the model here because at runtime the portable Python environment
27+
# has no pip/uv, so spacy's auto-download would fail.
28+
python -m spacy download en_core_web_sm

0 commit comments

Comments
 (0)