heroku create --buildpack https://github.com/kennethreitz/conda-buildpack.git pn2bs
git push heroku master
python pn2bs.py
import predictor
res = predictor.predict('テンソルフロー')
print res
tensorboard --logdir=<absolute path>/tflogs
Deploy to Heroku or
python main.py
For example, send GET request as
https://pn2bs.herokuapp.com/pred?name=テンソルフロー
{
"name": "テンソルフロー",
"hp": 92,
"attack": 101,
"block": 84,
"contact": 85,
"defense": 65,
"speed": 72,
"type1": "フェアリー",
"type2": "あく"
}