Skip to content

Commit

Permalink
add tessdata env var
Browse files Browse the repository at this point in the history
  • Loading branch information
MthwRobinson committed May 15, 2024
1 parent cf1a7ae commit fa5619b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ RUN python3.11 -c "import nltk; nltk.download('punkt')" && \
python3.11 -c "from unstructured_inference.models.tables import UnstructuredTableTransformerModel; model = UnstructuredTableTransformerModel(); model.initialize('microsoft/table-transformer-structure-recognition')"

ENV PATH="${PATH}:/home/nonroot/.local/bin"
ENV TESSDATA_PREFIX=/usr/local/share/tessdata

CMD ["/bin/bash"]

0 comments on commit fa5619b

Please sign in to comment.