Skip to content

Commit df077aa

Browse files
authored
Update how-to-deploy-mlflow-models-online-progressive.md
1 parent 1a8975d commit df077aa

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

articles/machine-learning/how-to-deploy-mlflow-models-online-progressive.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,7 @@ We are going to exploit this functionality by deploying multiple versions of the
280280

281281
# [Python (MLflow SDK)](#tab/mlflow)
282282

283-
This functionality is not available in the MLflow SDK. Go to [Azure ML studio](https://ml.azure.com), navigate to the endpoint and retrieve the secret key from there. Once you have it, set the value here:
284-
285-
```python
286-
endpoint_secret_key = "<ACCESS_KEY>"
287-
```
283+
This functionality is not available in the MLflow SDK. Go to [Azure ML studio](https://ml.azure.com), navigate to the endpoint and retrieve the secret key from there.
288284

289285
### Create a blue deployment
290286

@@ -510,7 +506,10 @@ So far, the endpoint is empty. There are no deployments on it. Let's create the
510506
# [Python (MLflow SDK)](#tab/mlflow)
511507
512508
```python
513-
deployment_client.predict(endpoint=endpoint_name, df=samples)
509+
deployment_client.predict(
510+
endpoint=endpoint_name,
511+
df=samples
512+
)
514513
```
515514
516515
### Create a green deployment under the endpoint
@@ -667,7 +666,11 @@ Let's imagine that there is a new version of the model created by the developmen
667666
# [Python (MLflow SDK)](#tab/mlflow)
668667
669668
```python
670-
deployment_client.predict(endpoint=endpoint_name, deployment_name=green_deployment_name, df=samples)
669+
deployment_client.predict(
670+
endpoint=endpoint_name,
671+
deployment_name=green_deployment_name,
672+
df=samples
673+
)
671674
```
672675
673676
---
@@ -837,4 +840,4 @@ deployment_client.delete_endpoint(endpoint_name)
837840
## Next steps
838841
839842
- [Deploy MLflow models to Batch Endpoints](how-to-mlflow-batch.md)
840-
- [Using MLflow models for no-code deployment](how-to-log-mlflow-models.md)
843+
- [Using MLflow models for no-code deployment](how-to-log-mlflow-models.md)

0 commit comments

Comments
 (0)