Skip to content

Commit

Permalink
fix: deprecated ntlk punk (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
nboyse authored Oct 29, 2024
1 parent 92fdb42 commit 96a3f02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96a3f02

Please sign in to comment.