Skip to content

Commit

Permalink
fix python example
Browse files Browse the repository at this point in the history
  • Loading branch information
jramcast committed Dec 7, 2023
1 parent ad50331 commit 022871b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/chapter1/pages/section2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ import requests
input_data = [-0.15384616, -0.9909186]
# You must adjust this path or read it from an environment variable
INFERENCE_ENDPOINT = "https://my-model.apps.my-cluster.example.com/v2/models/my-model/infer"
# Build the request body
payload = {
"inputs": [
Expand Down

0 comments on commit 022871b

Please sign in to comment.