Create your prediction function

Refer to Prediction Section on to how to create a prediction function and add it to a version of a model

Create FastAPI server for the model

import pureml

label = '<model_name:model_version>'

pureml.fastapi.run(label)