Update Dockerfile
Browse files- Dockerfile +0 -5
Dockerfile
CHANGED
|
@@ -16,11 +16,6 @@ RUN apt-get update && apt-get install -y \
|
|
| 16 |
RUN pip install --upgrade pip
|
| 17 |
RUN pip install -r requirements.txt
|
| 18 |
|
| 19 |
-
# Pre-download model and tokenizer
|
| 20 |
-
RUN python -c "from transformers import DebertaV2Tokenizer, DebertaV2ForSequenceClassification; \
|
| 21 |
-
DebertaV2Tokenizer.from_pretrained('Nikpatil/Email_classifier'); \
|
| 22 |
-
DebertaV2ForSequenceClassification.from_pretrained('Nikpatil/Email_classifier')"
|
| 23 |
-
|
| 24 |
# (Optional) If your utils.py uses spaCy
|
| 25 |
RUN python -m spacy download en_core_web_sm
|
| 26 |
|
|
|
|
| 16 |
RUN pip install --upgrade pip
|
| 17 |
RUN pip install -r requirements.txt
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
# (Optional) If your utils.py uses spaCy
|
| 20 |
RUN python -m spacy download en_core_web_sm
|
| 21 |
|