Skip to content

Commit 3badd64

Browse files
authored
Updated the environment in Deploy in ACI
the environment variable is not provided correctly and "tutorial-env" has to be replaced with "myenv" which is the environment variable defined right before this line: inference_config = InferenceConfig(entry_script="score.py", environment=myenv) ------- cc: @sdgilley
1 parent 363080f commit 3badd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/machine-learning/tutorial-deploy-models-with-aml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ model = Model(ws, 'sklearn_mnist')
146146

147147

148148
myenv = Environment.get(workspace=ws, name="tutorial-env", version="1")
149-
inference_config = InferenceConfig(entry_script="score.py", environment=tutorial-env)
149+
inference_config = InferenceConfig(entry_script="score.py", environment=myenv)
150150

151151
service = Model.deploy(workspace=ws,
152152
name='sklearn-mnist-svc3',

0 commit comments

Comments
 (0)