class Model: def __init__(self, **kwargs): self._model = None def load(self): pass def predict(self, model_input): return model_input
Call predict to test the model server
truss predict
truss predict -d '"Truss is awesome!"'
"Truss is awesome!"