Spaces:
Build error
Build error
updated version of the dockerfile
Browse files- Dockerfile +1 -1
- requirements.txt +4 -2
Dockerfile
CHANGED
|
@@ -12,7 +12,7 @@ COPY requirements.txt /dependencies/requirements.txt
|
|
| 12 |
RUN pip install -r /dependencies/requirements.txt
|
| 13 |
|
| 14 |
# Download and install SpaCy model
|
| 15 |
-
RUN python -m spacy download en_core_web_sm
|
| 16 |
|
| 17 |
COPY . /home/app
|
| 18 |
|
|
|
|
| 12 |
RUN pip install -r /dependencies/requirements.txt
|
| 13 |
|
| 14 |
# Download and install SpaCy model
|
| 15 |
+
RUN python -m spacy download en_core_web_sm==3.8.0 # match with spaCy version
|
| 16 |
|
| 17 |
COPY . /home/app
|
| 18 |
|
requirements.txt
CHANGED
|
@@ -10,5 +10,7 @@ boto3
|
|
| 10 |
scikit-learn
|
| 11 |
python-multipart
|
| 12 |
tensorflow
|
| 13 |
-
spacy
|
| 14 |
-
huggingface_hub
|
|
|
|
|
|
|
|
|
| 10 |
scikit-learn
|
| 11 |
python-multipart
|
| 12 |
tensorflow
|
| 13 |
+
spacy==3.8.3
|
| 14 |
+
huggingface_hub
|
| 15 |
+
cloudpickle==3.1.0
|
| 16 |
+
attrs==24.3.0
|