First, make sure your model is fully defined in a .py file.