Pre-download the spacy model that kokoro needs at runtime
This commit is contained in:
1 parent
d509f92a9d
commit
680c5b04cc
1 file changed
+3
@@ -35,6 +35,9 @@ RUN python3.11 -m pip install --no-cache-dir \
|
|||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN python3.11 -m pip install --no-cache-dir -r requirements.txt
|
RUN python3.11 -m pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
# Pre-download the spacy model that kokoro needs at runtime
|
||||||
|
RUN python3.11 -m spacy download en_core_web_sm
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|||||||
Reference in new issue
Block a user