Skip to content

bisohns/Rudeboy-PredictionEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git@github.com: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

About

API endpoint to classify toxicity in a sentence

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published