From 022871baa8ee7100ed3027726ca0f30d71ff19aa Mon Sep 17 00:00:00 2001 From: Jaime Ramirez Date: Thu, 7 Dec 2023 14:48:27 +0100 Subject: [PATCH] fix python example --- modules/chapter1/pages/section2.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/chapter1/pages/section2.adoc b/modules/chapter1/pages/section2.adoc index f4268d3..b74bd41 100644 --- a/modules/chapter1/pages/section2.adoc +++ b/modules/chapter1/pages/section2.adoc @@ -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": [