- Install Docker
- Run
git clone https://github.com/goodrahstar/tf-sentiment-docker - Open docker terminal and navigate to
/path/to/tf-sentiment-docker - Run
docker build . -t sentiment-api - Run
docker run -p 8180:8180 sentiment-api - Access
http://0.0.0.0:8180/sentiment?message=i love itfrom your browser [assuming you are on windows and docker-machine has that IP. Otherwise just use localhost]
- Anaconda distribution of python 2.7
pip install -r requirements.txtwhich installs Tensorflow and web.py