How to Install and Use a Custom Model (.pt or ONNX) from Roboflow

I have trained a custom machine learning model and exported it in .pt and ONNX formats using Roboflow. I would like to know the steps required to install and use these models in my own projects. Could someone provide a detailed guide or point me to the necessary resources for:

  1. Installing the model on my local machine.
  2. Integrating the model into a Python project.
  3. Running inference with the model on new data.

Any help with example code or best practices would be greatly appreciated! Thank you.