commit 22e6e7751e53631b48ba931e28bc9f674245e657
parent 38a6e45b1438cda87a4602ce9b59456f5128b884
Author: Stefan Koch <programming@stefan-koch.name>
Date: Sun, 3 Sep 2023 12:42:58 +0200
download Spanish models on build
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
@@ -20,6 +20,6 @@ WORKDIR /home/nlparrot
USER nlparrot
# after creation of user, so that it downloads into the user home directory
-RUN python -c 'import stanza; [stanza.download(model) for model in ["multilingual", "hr"]]'
+RUN python -c 'import stanza; [stanza.download(model) for model in ["multilingual", "es", "hr"]]'
CMD ["python", "/opt/nlparrot/src/nlparrot/server.py"]