-
Notifications
You must be signed in to change notification settings - Fork 12
Type4Py's Local Model
Amir M. Mir edited this page Feb 20, 2022
·
4 revisions
Type4Py's pre-trained model is provided in a Docker image, which can be queried locally without requesting our central server type4py.com
.
To use the local model, simply, follow the below two steps:
1- Pull Type4Py's Docker image on your system:
docker pull ghcr.io/saltudelft/type4py:latest
2- Run the Docker image:
docker run -p 5001:5010 -it ghcr.io/saltudelft/type4py:latest
The local model can now be queried via Rest API at localhost:5001
. Check out the guide on getting type information for a Python file using Type4Py's Rest API here.