grosenthal commited on
Commit
ef9f0a7
1 Parent(s): cdb1145

download tokenizer

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -14,5 +14,5 @@ ENV HOME=/home/user \
14
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
15
 
16
  COPY . .
17
-
18
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
14
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
15
 
16
  COPY . .
17
+ RUN python -c "from cltk.data.fetch import FetchCorpus; corpus_downloader = FetchCorpus(language='lat');corpus_downloader.import_corpus('lat_models_cltk')"
18
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]