Skip to content

Commit 6bfe4c9

Browse files
authored
Update how-to-nlp-processing-batch.md
1 parent 8fe5392 commit 6bfe4c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/machine-learning/batch-inference/how-to-nlp-processing-batch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ az ml model create --name $MODEL_NAME --type "custom_model" --path "bart-text-su
6666
```python
6767
model_name = 'bart-text-summarization'
6868
model = ml_client.models.create_or_update(
69-
Model(path='bart-text-summarization/model', type=AssetTypes.CUSTOM_MODEL)
69+
Model(name=model_name, path='bart-text-summarization/model', type=AssetTypes.CUSTOM_MODEL)
7070
)
7171
```
7272
---

0 commit comments

Comments
 (0)