-
Create image:
docker-compose build
-
Containers running
docker-compose up -d
-
Testing
curl -X POST -H "Content-Type: application/json" \ -d '{"text": "Text Here"}' \ http://localhost:5000/predict
export FLASK_APP=app.py
flask run
Api for sentiment analysis using flask, scikit-learn and docker
Jupyter NotebookMIT
Create image:
docker-compose build
Containers running
docker-compose up -d
Testing
curl -X POST -H "Content-Type: application/json" \ -d '{"text": "Text Here"}' \ http://localhost:5000/predict
export FLASK_APP=app.py
flask run