Examples to get started with using TrueFoundry
This example runs a simple iris app for inferring using a iris classifier. Mainly this example shows how to deploy to TrueFoundry using a Pythonfile and TrueFoundry Python SDK.
- Install requirements
python -m pip install -r requirements.txt
- Start the iris app
python app.py
- Install
truefoundry
python -m pip install -U "truefoundry>=0.5.9,<0.6.0"
- Login
tfy login --host "<Host name of TrueFoundry UI. e.g. https://company.truefoundry.cloud>"
- Deploy!
Please refer to following docs
python deploy.py --name iris --workspace-fqn <Workspace FQN> --host <Ingress Host for the cluster> --path <optional path>