smc / mlpredict

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:JavaScript 68.6%Language:Vue 14.5%Language:Python 13.8%Language:Dockerfile 1.9%Language:HTML 1.3%