Skip to content

Commit

Permalink
Add needed library call
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasilge committed Aug 21, 2023
1 parent ba62281 commit 6e7d14d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions slides/02-deploy.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ You can treat your model API much like it is a local model in memory!
### R

```{r}
library(vetiver)
endpoint <- vetiver_endpoint("https://colorado.posit.co/rsc/chicago-inspections-rstats/predict")
predict(endpoint, slice_sample(inspect_test, n = 10))
```
Expand Down

0 comments on commit 6e7d14d

Please sign in to comment.