diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-04-28 16:20:29 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-04-28 16:20:29 +0200 |
| commit | a313f42b12fd58ae2db4561454c91eaf3b776c42 (patch) | |
| tree | a8cebf8050a5db04211adffc88929fcc5f17284a /check | |
| parent | aa5638a1c31ce56d59696580f33733dcf0d7764c (diff) | |
stuff working
Diffstat (limited to 'check')
| -rw-r--r-- | check/app/server/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
