Skip to content

Commit

Permalink
endpoint_name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Qingwei Li committed Sep 9, 2022
1 parent 43c4e9d commit d4555e7
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@
"\n",
"client = boto3.client(\"sagemaker-runtime\")\n",
"\n",
"endpoint_name = \"gpt-j\" # Your endpoint name.\n",
"content_type = \"text/plain\" # The MIME type of the input data in the request body.\n",
"payload = \"Amazon.com is the best\" # Payload for inference.\n",
"response = client.invoke_endpoint(\n",
Expand Down

0 comments on commit d4555e7

Please sign in to comment.