This application demonstrates how python models can be called from a different codebase and context using HTTPS. Usually this would be done utilizing a system call via protobuf with gRPC but this process can be used if one does not want to go into microservices.
- Select a model from the drop down
- Identify Point or Full Classify 2.1. Select a point from the table and hit "Submit Classifier Request" 2.2 (OR) Hit "Classify All Points"
- Await results. Sample requests and response will be shown.
- Clone the repository
cd
into the repo and usesetup.sh
./scripts/setup.sh
- After setup, use the start script
./scripts/start.sh
- Clone the repository.
- Create your virtual environment and install the requirements.
python3 -m venv flask-env
. flask-env/Scripts/activate #or . flask-env/bin/activate
pip install -r requirements.txt
- Launch Flask
flask --app server run
# navigate to http://127.0.0.1:5000