This is a simple Flask application for Obama or Smalling Prediction. For more detail, see the obama_smalling_predictor repo!
$ conda -V
conda 4.10.3
Suggest using Miniconda to set up our environment.
$ conda create -n os-flask python=3.7.2
$ conda activate os-flask
$ pip install -r ./requirements.txt
$ cd <THIS_REPO>/src/
$ export FLASK_APP=predict.py
$ flask run
Then you can see the app runnning on your localhost:5000/predict
flask-app-demo.mp4
We will host this app on GCP(GAE and Cloud Storage). See this repo obama_smalling_flask_gcp