# Generated by the vetiver package; edit with care | |
library(pins) | |
library(plumber) | |
library(rapidoc) | |
library(vetiver) | |
b <- board_folder(path = ".") | |
v <- vetiver_pin_read(b, "model") | |
#* @plumber | |
function(pr) { | |
pr %>% vetiver_api(v) | |
} | |
# Generated by the vetiver package; edit with care | |
library(pins) | |
library(plumber) | |
library(rapidoc) | |
library(vetiver) | |
b <- board_folder(path = ".") | |
v <- vetiver_pin_read(b, "model") | |
#* @plumber | |
function(pr) { | |
pr %>% vetiver_api(v) | |
} | |