Example
project/
├── model.py
├── util.py
├── predictor.py
├── requirements.txt
└── ...# predictor.py
from model import MyModel
class PythonPredictor:
def __init__(self, config):
model = MyModel()
def predict(payload):
return model(payload)Deploy using the Python Client
Deploy using the CLI
Last updated