From c41d025a442c6a05da533c19862908a1d9e47815 Mon Sep 17 00:00:00 2001 From: Anna Grund Date: Wed, 27 Sep 2023 23:06:22 +0300 Subject: [PATCH 1/2] test --- ajapaik/ajapaik/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ajapaik/ajapaik/api.py b/ajapaik/ajapaik/api.py index f25a0ce18..102993a6a 100644 --- a/ajapaik/ajapaik/api.py +++ b/ajapaik/ajapaik/api.py @@ -1812,6 +1812,7 @@ def get(self, request, photo_id, format=None): if scene_suggestion.scene == 1: scene = 'Exterior' + if photo.scene == 0: scene_consensus = 'Interior' if photo.scene == 1: From 3e8bbf96a515e3c9df35aee54771323af5a80599 Mon Sep 17 00:00:00 2001 From: Anna Grund Date: Wed, 27 Sep 2023 23:11:26 +0300 Subject: [PATCH 2/2] [AJP-2] --- requirements-test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-test.txt b/requirements-test.txt index 4c3bff9a6..1a7122955 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -29,7 +29,7 @@ pandas==1.1.5 psycopg2-binary==2.8.6 requests==2.26.0 roman==3.3 -sklearn +scikit-learn==0.24.2 oauth2client==4.1.3 gdal==3.0.4 typing==3.7.4.3