Skip to content

Latest commit

 

History

History
73 lines (47 loc) · 1.96 KB

README.md

File metadata and controls

73 lines (47 loc) · 1.96 KB

Rudeboy-API

Categorizes toxicity levels in a sentence Dataset obtained from this Kaggle competition Models trained using BigMl

Icon

Python flask

Docker Automated Build Docker Pulls

Build StatusLicense: MIT

Getting Started

Clone the repo

    # SSH
    git clone [email protected]:bisoncorps/Rudeboy-PredictionEngine.git   
    # HTTPS
    git clone https://github.com/bisoncorps/Rudeboy-PredictionEngine.git

Activate virtual environment. All project work should be done in virtualenvs and virtualenv names must be added to gitignore

Installation

  • Install the requirements
    # install pipenv
    sudo pip3 install pipenv

    # install requirements
    pipenv install

Running Locally

  • With flask dev server
    python flask_api/server.py
  • With Gunicorn (port 8008)
    gunicorn -b :8008 flask_api:app
  • With deployed Docker image from docker hub
    docker run deven96/rudeboyapi

Upon running image, docker container port is bound to localhost

Deployed Version

Make use of the deployed version visit https://rudeboy.bisoncorps.com