Remove uneeded TESSDATA_PREFIX setting in container

The container image does not need the TESSDATA_PREFIX env variable since
its PyMuPDF version is new enough to support `tessdata` as an argument
when calling the PyMuPDF tesseract method.
This commit is contained in:
deeplow 2024-02-05 18:36:54 +00:00
parent 6006beeb03
commit 879fca6f9f
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -217,8 +217,6 @@ class Container(IsolationProvider):
"-v",
f"{tempdir}:/safezone:Z",
"-e",
"TESSDATA_PREFIX=/usr/share/tessdata",
"-e",
f"OCR={0 if ocr_lang is None else 1}",
"-e",
f"OCR_LANGUAGE={ocr_lang}",