Skip to content

Commit

Permalink
Changing the json request folder location to align better with the do…
Browse files Browse the repository at this point in the history
…cs (#2036)
  • Loading branch information
balapv committed Jan 24, 2023
1 parent ab5d5d2 commit 0a556a2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@
"\n",
"test_samples = json.dumps({\"data\": X_test[sample_indices].tolist()})\n",
"\n",
"with open(\"request.json\", \"w\") as outfile:\n",
"with open(\"request/sample-request.json\", \"w\") as outfile:\n",
" outfile.write(test_samples)"
]
},
Expand All @@ -741,7 +741,7 @@
"# # predict using the deployed model\n",
"result = ml_client.online_endpoints.invoke(\n",
" endpoint_name=online_endpoint_name,\n",
" request_file=\"./request.json\",\n",
" request_file=\"./request/sample-request.json\",\n",
" deployment_name=\"tff-blue\",\n",
")"
]
Expand Down

0 comments on commit 0a556a2

Please sign in to comment.