With deploy.py I meant the script which is creating your endpoint. This could also be a notebook or so.
deploy.py