mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 16:46:50 +01:00
Code style changed
This commit is contained in:
parent
8d003a6a85
commit
909586bf25
4 changed files with 12 additions and 12 deletions
|
|
@ -127,7 +127,7 @@ class DocumentClassifier(object):
|
|||
def classify_document(self, document, classify_correspondent=False, classify_document_type=False, classify_tags=False, replace_tags=False):
|
||||
X = self.data_vectorizer.transform([preprocess_content(document.content)])
|
||||
|
||||
update_fields=()
|
||||
update_fields = ()
|
||||
|
||||
if classify_correspondent and self.correspondent_classifier is not None:
|
||||
y_correspondent = self.correspondent_classifier.predict(X)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue