The Flask API to expose model and get predictions

This repo contains the Flask API to expose model and get predictions.

Expose Model As An API

  1. Model Trainig will happen in server(i.e. where ever training of model is done is refered as server here)
  2. Model can be saved with .h5, .pkl, .sav
  3. Hosting the model in server side using Flask Framework
  4. Now Flask API can be consumend by mobile app.

Flask Api Deployment in Azure App service

  1. Flask code
  2. Run and check in local
  3. Create Azure App service
  4. Run python3 app.py
  5. Get the execution url from the App service instance and verify it

Deploy to Elastic Beanstalk Instance