vetiver_python_requirements: Use extra files required for deployment

View source: R/write-plumber.R

vetiver_python_requirements.keras.engine.training.ModelR Documentation

Use extra files required for deployment

Description

Create files required for deploying an app generated via vetiver_write_plumber(), such as a Python requirements.txt or an .Renviron

Usage

## S3 method for class 'keras.engine.training.Model'
vetiver_python_requirements(model)

## S3 method for class 'luz_module_fitted'
vetiver_renviron_requirements(model)

vetiver_python_requirements(model)

## Default S3 method:
vetiver_python_requirements(model)

vetiver_renviron_requirements(model)

## Default S3 method:
vetiver_renviron_requirements(model)

Arguments

model

A trained model, such as an lm() model or a tidymodels workflows::workflow().


tidymodels/vetiver documentation built on Oct. 15, 2024, 4:16 p.m.