fix spacy and en_core_web_sm errors
Browse files- Dockerfile +1 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
@@ -7,7 +7,7 @@ COPY ./requirements.txt /code/requirements.txt
|
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
# Install spaCy model
|
10 |
-
|
11 |
|
12 |
# Copy the local en_core_web_sm-3.0.0.tar.gz file into the container
|
13 |
# COPY ./en_core_web_sm-3.0.0.tar.gz /models/en_core_web_sm-3.0.0.tar.gz
|
|
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
# Install spaCy model
|
10 |
+
RUN python -m spacy download en_core_web_sm
|
11 |
|
12 |
# Copy the local en_core_web_sm-3.0.0.tar.gz file into the container
|
13 |
# COPY ./en_core_web_sm-3.0.0.tar.gz /models/en_core_web_sm-3.0.0.tar.gz
|
requirements.txt
CHANGED
@@ -187,4 +187,4 @@ yarl==1.9.6
|
|
187 |
# spacy[transformers]
|
188 |
# https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz
|
189 |
# spacy[en]==3.2.0
|
190 |
-
en-core-web-sm==3.5.0
|
|
|
187 |
# spacy[transformers]
|
188 |
# https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.0.0/en_core_web_sm-3.0.0.tar.gz
|
189 |
# spacy[en]==3.2.0
|
190 |
+
# en-core-web-sm==3.5.0
|