Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +0 -3
Dockerfile
CHANGED
@@ -38,9 +38,6 @@ ENV HF_TOKEN=${HF_TOKEN}
|
|
38 |
# Pre-download models as the new user
|
39 |
USER appuser
|
40 |
|
41 |
-
RUN /app/venv/bin/python -c "from transformers import pipeline; \
|
42 |
-
pipeline('sentiment-analysis', model='Ehrii/sentiment', use_auth_token='$HF_TOKEN')" || echo 'Failed to download multilingual model'
|
43 |
-
|
44 |
RUN /app/venv/bin/python -c "from transformers import pipeline; \
|
45 |
pipeline('sentiment-analysis', model='siebert/sentiment-roberta-large-english', use_auth_token='$HF_TOKEN')" || echo 'Failed to download English model'
|
46 |
|
|
|
38 |
# Pre-download models as the new user
|
39 |
USER appuser
|
40 |
|
|
|
|
|
|
|
41 |
RUN /app/venv/bin/python -c "from transformers import pipeline; \
|
42 |
pipeline('sentiment-analysis', model='siebert/sentiment-roberta-large-english', use_auth_token='$HF_TOKEN')" || echo 'Failed to download English model'
|
43 |
|