File size: 392 Bytes
8cfdcf9
 
 
 
 
 
1
2
3
4
5
6
7
- cnn_model.h5 and label_transform.pkl is Model File.

- main.py is to needed to run to start the server.
- in main.py, "/test-predict" is for testing purpose, "/predict" endpoint is for uploading image. 
- "/test-predict" endpoint contains image picked from the same folder.
- after starting the server, call "http://0.0.0.0:8000/test-predict"in browser to test the prediction on the image.