A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
pycodestyle
jonaswinkler4c6a02aee7e3
diff --git a/src/documents/classifier.py b/src/documents/classifier.pyindex 41cd05412..b427264c8 100755--- a/src/documents/classifier.py+++ b/src/documents/classifier.py@@ -40,8 +40,8 @@ def load_classifier():except (EOFError, IncompatibleClassifierVersionError) as e:# there's something wrong with the model file.logger.error(- f"Unrecoverable error while loading document classification model: "- f"{str(e)}, deleting model file."+ f"Unrecoverable error while loading document "+ f"classification model: {str(e)}, deleting model file.")os.unlink(settings.MODEL_FILE)classifier = None