mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
the document classifier is now stateless
This commit is contained in:
parent
3e50e51b8a
commit
05f20c19c3
4 changed files with 12 additions and 19 deletions
|
|
@ -182,7 +182,6 @@ class Consumer:
|
|||
|
||||
try:
|
||||
self.classifier.reload()
|
||||
self.classifier.update(document)
|
||||
classifier = self.classifier
|
||||
except FileNotFoundError:
|
||||
logging.getLogger(__name__).warning("Cannot classify documents, "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue