diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index d47bf3aeb..788170ff0 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -83,7 +83,7 @@ jobs: cp .env.test worker/.env cd worker poetry install - poetry run python -m nltk.downloader punkt + poetry run python -m nltk.downloader punkt_tab poetry run pytest --cov=worker -v --cov-report=term-missing --cov-fail-under=80 test-redbox: diff --git a/worker/Dockerfile b/worker/Dockerfile index 27d57d52c..b6ab47bdb 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -19,7 +19,7 @@ RUN poetry install RUN poetry run python ../download_embedder.py --embedding_model "all-mpnet-base-v2" # Downlaod Sentence Tokenizer -RUN poetry run python -m nltk.downloader punkt +RUN poetry run python -m nltk.downloader punkt_tab # Download POS tagger RUN poetry run python -m nltk.downloader averaged_perceptron_tagger