diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-04-28 15:54:41 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-04-28 15:54:41 +0200 |
| commit | aa5638a1c31ce56d59696580f33733dcf0d7764c (patch) | |
| tree | c2d1bd0e480b9bae113ce9af706927c5b7c55952 /check | |
| parent | a72ecc91db39ac5a2d60aefc6d767da457500dde (diff) | |
refactor frontend, add threshold slider
Diffstat (limited to 'check')
| -rw-r--r-- | check/app/server/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check/app/server/api.py b/check/app/server/api.py index acaef76..e73e584 100644 --- a/check/app/server/api.py +++ b/check/app/server/api.py @@ -115,7 +115,7 @@ def similar(): """ Search by uploading an image """ - params, error = get_params(default_threshold=SIMILARITY_THRESHOLD, default_limit=SIMILARITY_LIMIT) + params, error = get_params(default_threshold=SIMILAR_THRESHOLD, default_limit=SIMILAR_LIMIT) if error: return jsonify({ 'success': False, |
