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: 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