-
Clone the Repo
-
Create a virtual env using command line python -m venv venv
-
Activate the virtual env by typing into command line venv\Scripts\activate
-
Install the required libraries using pip install -r requirements.txt
-
Run api.py file using python api.py
-
goto http://localhost:8001/docs and start predicting
comment out line 51 & 52 in api.py since we are already using CMD directive in Dockerfile make sure you have docker desktop installed create an image using the command
- *** docker build -t docker_model_api . ***
- Check the Docker desktop when the image is created and run it