From 047be88c8b372062cd99a84134f19fb56f788737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=9A=A9=EC=88=98?= Date: Wed, 4 Sep 2024 17:38:45 +0900 Subject: [PATCH] =?UTF-8?q?Chore:=20AI=20=EC=84=9C=EB=B2=84=20=EC=9A=94?= =?UTF-8?q?=EC=B2=AD=20endPoint=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/worlabel/domain/label/service/LabelService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/main/java/com/worlabel/domain/label/service/LabelService.java b/backend/src/main/java/com/worlabel/domain/label/service/LabelService.java index 0be7db4..c78bb41 100644 --- a/backend/src/main/java/com/worlabel/domain/label/service/LabelService.java +++ b/backend/src/main/java/com/worlabel/domain/label/service/LabelService.java @@ -44,7 +44,6 @@ public class LabelService { private final RestTemplate restTemplate; private final Gson gson; - /** * AI SERVER 주소 */ @@ -74,7 +73,7 @@ public class LabelService { } private List sendRequestToApi(AutoLabelingRequest autoLabelingRequest, String apiEndpoint, int projectId) { - String url = createApiUrl("api/yolo/detection/predict"); + String url = createApiUrl(apiEndpoint); // RestTemplate을 동적으로 생성하여 사용 HttpHeaders headers = createJsonHeaders();