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