Skip to content

Commit e05177a

Browse files
Changed the backend URL to v3/detect
1 parent c1f0843 commit e05177a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aimon/resources/inference.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def detect(
7070
timeout: Override the client-level default timeout for this request, in seconds
7171
"""
7272
return self._post(
73-
"/v2/detect",
73+
"/v3/detect",
7474
body=maybe_transform(body, Iterable[inference_detect_params.Body]),
7575
options=make_request_options(
7676
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
@@ -123,7 +123,7 @@ async def detect(
123123
timeout: Override the client-level default timeout for this request, in seconds
124124
"""
125125
return await self._post(
126-
"/v2/detect",
126+
"/v3/detect",
127127
body=await async_maybe_transform(body, Iterable[inference_detect_params.Body]),
128128
options=make_request_options(
129129
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout

0 commit comments

Comments
 (0)