Skip to content

Commit

Permalink
Use split (mlflow#5522)
Browse files Browse the repository at this point in the history
Signed-off-by: dbczumar <[email protected]>
  • Loading branch information
dbczumar authored Mar 23, 2022
1 parent e78d6e9 commit 1b2793b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlflow/sagemaker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2518,7 +2518,7 @@ def predict(self, deployment_name, df):
)
response = sage_client.invoke_endpoint(
EndpointName=deployment_name,
Body=json.dumps(_get_jsonable_obj(df)),
Body=json.dumps(_get_jsonable_obj(df, pandas_orient="split")),
ContentType="application/json",
)

Expand Down

0 comments on commit 1b2793b

Please sign in to comment.