From ce0e2043867f7e84d2507f8a168779cab29fbc12 Mon Sep 17 00:00:00 2001 From: "Shaun A. Noordin" Date: Wed, 24 Jul 2024 11:09:01 +0100 Subject: [PATCH] Revert "Change default target for CAMERA_TRAPS_HOSTS_API_PATH (#515)" This reverts commit 20bf76bd6311e7b3ed9bdf1227f2b3447ca15cee. --- hamlet/ms_ml_exports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hamlet/ms_ml_exports.py b/hamlet/ms_ml_exports.py index 71e7f6c..51ed3b3 100644 --- a/hamlet/ms_ml_exports.py +++ b/hamlet/ms_ml_exports.py @@ -151,7 +151,7 @@ def ml_subject_assistant_export_to_microsoft_pt4_make_ml_request(shareable_file_ camera_traps_api_host = os.getenv('CAMERA_TRAPS_API_SERVICE_HOST') if camera_traps_api_host: camera_traps_api_host_path = os.getenv( - 'CAMERA_TRAPS_API_SERVICE_HOST_PATH', '/v5/camera-trap/detection-batch' + 'CAMERA_TRAPS_API_SERVICE_HOST_PATH', '/v4/camera-trap/detection-batch' ) ml_service_url = 'http://' + camera_traps_api_host + camera_traps_api_host_path