Skip to content

Commit

Permalink
🐛 Fix recognize.py
Browse files Browse the repository at this point in the history
config.py's TF_CPP_MIN_LOG_LEVEL was removed but recognize.py not
adapted accordingly. Fix this by removing the use of the variable
there as well.
  • Loading branch information
mikegerber committed Oct 12, 2023
1 parent 823b592 commit 637a08d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ocrd_calamari/recognize.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@
to_xml
)

from ocrd_calamari.config import OCRD_TOOL, TF_CPP_MIN_LOG_LEVEL
from ocrd_calamari.config import OCRD_TOOL

os.environ['TF_CPP_MIN_LOG_LEVEL'] = TF_CPP_MIN_LOG_LEVEL
from tensorflow import __version__ as tensorflow_version

TOOL = 'ocrd-calamari-recognize'
Expand Down

0 comments on commit 637a08d

Please sign in to comment.