Loads an MLflow model using a specific flavor. This method is called internally by
load_model
, but is exposed for package authors to extend the supported
MLflow models. See https://mlflow.org/docs/latest/models.html#storage-format for more
info on MLflow model flavors.
1 | load_flavor(flavor, model_path)
|
flavor |
An MLflow flavor object loaded by |
model_path |
The path to the MLflow model wrapped in the correct class. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.