Flask Server (#4433)
Flask Server (#4433)

* Flask Demo Added

Added folder with name flask_api_dome and added code to implement parlai model with flask framework and readme file in the same folder. Also added URL to flask API folder on main README.md file.

* Update README.md

* Revert "Update README.md"

This reverts commit 1a6122db7c86777b24eb3f377d0c15388d582e14.

* Revert "Flask Demo Added"

This reverts commit 778e217f926360d8e4d261e295e1b714ce1354da.

* one the necessary changes as per suggestions

* Update requirements.txt

Added flask on  requirements.txt file

* Update index.md

* Revert "Update index.md"

This reverts commit 29eff3b6f1c52fcb726f07722cd1d17efe7e26e0.

* Revert "Update requirements.txt"

This reverts commit 4c7ac448c69dec6f3ea5b5ced4ab422816c38313.

* Revert "one the necessary changes as per suggestions"

This reverts commit a81ff9c4c76e6b93aa8bebb732d273b93e340186.

* Deleted flask_demo.py

Code has been added to doc file, so removing it for now so solve build_website error

* Flask_demo added

* Remove Model as global model

* update tutorial_flask

* Updated tutorial_flask.md

* updated flask_demo.py

* Lint.

* Update parlai/scripts/flask_demo.py

lint again

* Update parlai/scripts/flask_demo.py

lol keep linting

* Few Changes to Improve script

* Wrap in a proper script.

* Whoops

* Lint.

Co-authored-by: Khushal Jethava <fa8797ff5ddc740decc5a82a1273a932a41342f4@gmail.com>
Co-authored-by: Khushal Jethava <0e1f00686becab28f0d9c6d751e9026a9764752a@outlook.com>
facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI