Skip to content

Commit

Permalink
Replaced upload api with register of ml commons (#1130)
Browse files Browse the repository at this point in the history
Signed-off-by: Owais <[email protected]>
  • Loading branch information
owaiskazi19 authored Jan 22, 2025
1 parent 4e7a176 commit a4ca7b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ protected String uploadModel(final String requestBody) throws Exception {
Response uploadResponse = makeRequest(
client(),
"POST",
"/_plugins/_ml/models/_upload",
"/_plugins/_ml/models/_register",
null,
toHttpEntity(requestBody),
ImmutableList.of(new BasicHeader(HttpHeaders.USER_AGENT, DEFAULT_USER_AGENT))
Expand Down

0 comments on commit a4ca7b4

Please sign in to comment.