From a313f42b12fd58ae2db4561454c91eaf3b776c42 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 28 Apr 2019 16:20:29 +0200 Subject: stuff working --- check/app/server/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'check') diff --git a/check/app/server/api.py b/check/app/server/api.py index e73e584..f214696 100644 --- a/check/app/server/api.py +++ b/check/app/server/api.py @@ -15,8 +15,8 @@ from app.utils.file_utils import sha256_stream sanitize_re = re.compile('[\W]+') valid_exts = ['.gif', '.jpg', '.jpeg', '.png'] -MATCH_THRESHOLD = 20 -MATCH_LIMIT = 10 +MATCH_THRESHOLD = 6 +MATCH_LIMIT = 1 SIMILAR_THRESHOLD = 20 SIMILAR_LIMIT = 10 -- cgit v1.2.3-70-g09d2