Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 953 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 953 Bytes

Web interface for mlpredict Malayalam word predictor

Installation

Create a virtual environment. In linux based systems, it is like this:

python -m venv ENV_DIR
source ENV_DIR/bin/activate

Then install the dependencies

pip install -r requirements.txt

Start the webserver and open the URL given in the output with a web browser.

gunicorn mlpredictweb:app

Or configure webservers like Apache with this flask application. You may use the example configuration for reference. Refer http://flask.pocoo.org/docs/0.12/deploying/ for more information on deploying flask applications. This application can also be easily deployed in Heroku. See https://devcenter.heroku.com/articles/getting-started-with-python

Using Docker

docker build --tag=mlpredictweb .
docker run -e PORT=80 -p 4000:80 mlpredictweb

And open browser at localhost:4000