]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Increase FORMAT_VERSION to force model re-creation
authorJohann Bauer <bauerj@bauerj.eu>
Mon, 21 Mar 2022 17:10:30 +0000 (18:10 +0100)
committerJohann Bauer <bauerj@bauerj.eu>
Mon, 21 Mar 2022 17:11:18 +0000 (18:11 +0100)
src/documents/classifier.py

index b6ee890e4c951e3fb93a5ab40e8c1becda889544..c1464375d3b400c9f61b37c1e44b046ea5bf2563 100644 (file)
@@ -59,7 +59,7 @@ def load_classifier():
 
 class DocumentClassifier(object):
 
-    FORMAT_VERSION = 6
+    FORMAT_VERSION = 7
 
     def __init__(self):
         # hash of the training data. used to prevent re-training when the