app.py
is a Python file that plays a crucial role in setting up and running models on the Inferless platform. It typically contains a class with three main functions:input_schema.py
is a python file specifies the input parameters for your model’s API calls.config.yaml(Runtime)
refers to the software and dependencies you can add to your runtime environment to support your model’s specific needs.app.py
and input_schema.py
. Run this command to download the files
inferless_runtime_config.yaml
with below data
infer_path
where you can store the weights. Make sure you keep this handy
infer_path
in the destination
app.py
you can specify the mount path from where the weights can be accessed (Eg: /var/nfs-mount/<volume_name>
)
app.py
and here in the command should be same)