Skip to content

Commit 0604f6f

Browse files
Merge pull request #229675 from AjayBathini-MSFT/patch-48
(AzureCXP) fixes MicrosoftDocs/azure-docs#106161
2 parents ef678bf + 45126dc commit 0604f6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/machine-learning/how-to-share-models-pipelines-across-workspaces-with-registries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ mlflow_model = Model(
479479
version=str(1), # use str(int(time.time())) if you want a random model number
480480
description="MLflow model created from local path",
481481
)
482-
ml_client_registry.model.create_or_update(mlflow_model)
482+
ml_client_registry.models.create_or_update(mlflow_model)
483483
```
484484
485485
---
@@ -548,7 +548,7 @@ mlflow_model = Model(
548548
version=version_timestamp,
549549
description="MLflow model created from job output",
550550
)
551-
ml_client_workspace.model.create_or_update(mlflow_model)
551+
ml_client_workspace.models.create_or_update(mlflow_model)
552552
```
553553
554554
> [!TIP]

0 commit comments

Comments
 (0)