Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Naomi Pentrel <[email protected]>
  • Loading branch information
sguequierre and npentrel authored Nov 22, 2024
1 parent 38ad63a commit 60a8840
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/include/services/apis/generated/mlmodel.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import (
"gorgonia.org/tensor"
)

myMLModel, err := mlmodel.FromRobot(machine, "mlmodel-1")
myMLModel, err := mlmodel.FromRobot(machine, "my_mlmodel_service")

input_tensors := ml.Tensors{
"image": tensor.New(
Expand Down Expand Up @@ -116,7 +116,7 @@ For more information, see the [Python SDK Docs](https://python.viam.dev/autoapi/
**Example:**

```go {class="line-numbers linkable-line-numbers"}
myMLModel, err := mlmodel.FromRobot(machine, "mlmodel-1")
myMLModel, err := mlmodel.FromRobot(machine, "my_mlmodel_service")
metadata, err := myMLModel.Metadata(context.Background())
```

Expand Down

0 comments on commit 60a8840

Please sign in to comment.