API Reference
Model
The model class is the entry point for your deployed model.
Once a model is deployed, you can call it using the model class:
The Model Object
constructor(model route: str) - takes in a model route, which is essentially a path to the deployed model, formatted as follows:
the model_branch part of the route is optional; if left out the deployment will route to the initial branch of the model.
model(inputs) - call the deployed model, returning inference results. Any input data defined in your model handler class can be passed as keyword arguments to the model, for example:
info() - returns the input data required by the model, this is defined by your model handler class. For example: