Spaces:
Runtime error
Runtime error
add spacy dep
Browse files- Dockerfile +1 -0
- requirements.txt +0 -1
Dockerfile
CHANGED
@@ -10,6 +10,7 @@ WORKDIR $HOME/app
|
|
10 |
|
11 |
COPY --chown=user requirements.txt requirements.txt
|
12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
13 |
|
14 |
COPY --chown=user . .
|
15 |
|
|
|
10 |
|
11 |
COPY --chown=user requirements.txt requirements.txt
|
12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
+
RUN python -m spacy download en_core_web_sm
|
14 |
|
15 |
COPY --chown=user . .
|
16 |
|
requirements.txt
CHANGED
@@ -7,4 +7,3 @@ datasets==2.16.*
|
|
7 |
langchain==0.0.*
|
8 |
aiohttp==3.8.*
|
9 |
spacy==3.7.*
|
10 |
-
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.0/en_core_web_sm-2.2.0.tar.gz
|
|
|
7 |
langchain==0.0.*
|
8 |
aiohttp==3.8.*
|
9 |
spacy==3.7.*
|
|