Increase FORMAT_VERSION to force model re-creation

This commit is contained in:
Johann Bauer 2022-03-21 18:10:30 +01:00
parent ed0bf95369
commit 9ceae3e0db

View File

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