Spaces:
Runtime error
Runtime error
File size: 490 Bytes
c25cfa7 4210ad0 c25cfa7 194036f c25cfa7 194036f 298e76d c25cfa7 194036f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# Generated by the vetiver package; edit with care
cat("Current directory", getwd(), "\n")
library(pins)
library(plumber)
library(rapidoc)
library(vetiver)
# Packages needed to generate model predictions
if (FALSE) {
library(parsnip)
library(recipes)
library(stats)
library(workflows)
}
pin_loc <- pins:::github_raw("JamesHWade/r-mlops/main/pins-r/_pins.yaml")
b <- board_url(pin_loc)
v <- vetiver_pin_read(b, "penguins_model")
#* @plumber
function(pr) {
pr %>% vetiver_api(v)
} |