From 51b721b38d1f5d79d8a3e2816787067b0c95c2d4 Mon Sep 17 00:00:00 2001 From: "Shaun A. Noordin" Date: Wed, 24 Jul 2024 10:49:32 +0100 Subject: [PATCH] Change default target for CAMERA_TRAPS_HOSTS_API_PATH --- 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 51ed3b3..71e7f6c 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', '/v4/camera-trap/detection-batch' + 'CAMERA_TRAPS_API_SERVICE_HOST_PATH', '/v5/camera-trap/detection-batch' ) ml_service_url = 'http://' + camera_traps_api_host + camera_traps_api_host_path