Spaces:
Running
on
T4
Running
on
T4
esource averaged_perceptron_tagger_eng not found when cloning and
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -78,7 +78,8 @@ COPY --chown=user:user ./seamless_server ./seamless_server
|
|
78 |
# change dir since pip needs to seed whl folder
|
79 |
RUN cd seamless_server && \
|
80 |
pip install fairseq2 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/nightly/pt2.1.1/cu118 && \
|
81 |
-
pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
82 |
COPY --from=frontend /app/dist ./streaming-react-app/dist
|
83 |
|
84 |
WORKDIR $HOME/app/seamless_server
|
|
|
78 |
# change dir since pip needs to seed whl folder
|
79 |
RUN cd seamless_server && \
|
80 |
pip install fairseq2 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/nightly/pt2.1.1/cu118 && \
|
81 |
+
pip install --no-cache-dir --upgrade -r requirements.txt \
|
82 |
+
python -c "import nltk; nltk.download('averaged_perceptron_tagger_eng')"
|
83 |
COPY --from=frontend /app/dist ./streaming-react-app/dist
|
84 |
|
85 |
WORKDIR $HOME/app/seamless_server
|