install zh_core_web_sm

This commit is contained in:
Joe Crypto 2023-06-22 19:46:49 +00:00
parent 5f3034a9e6
commit 6e294f1a5e

View File

@ -16,6 +16,8 @@ RUN pip3 install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
RUN python3 -m spacy download zh_core_web_sm
EXPOSE 7860 EXPOSE 7860
CMD ["python3", "pilot/server/webserver.py"] CMD ["python3", "pilot/server/webserver.py"]