mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
classifier caching
This commit is contained in:
parent
0024c2aae4
commit
ffe96c8fff
4 changed files with 68 additions and 76 deletions
|
|
@ -52,7 +52,7 @@ def train_classifier():
|
|||
"Saving updated classifier model to {}...".format(
|
||||
settings.MODEL_FILE)
|
||||
)
|
||||
classifier.save_classifier()
|
||||
classifier.save()
|
||||
else:
|
||||
logger.debug(
|
||||
"Training data unchanged."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue