Skip to content

Commit

Permalink
Replaced upload api with register of ml commons
Browse files Browse the repository at this point in the history
Signed-off-by: Owais <[email protected]>
  • Loading branch information
owaiskazi19 committed Jan 22, 2025
1 parent 84e6306 commit f865248
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 f865248

Please sign in to comment.