A simple Flask API which detects toxicity in text
- clone this repository
- create a
config.json
file based off what's inconfig.json.example
- install the dependencies with poetry using
poetry install
(get poetry withpip install poetry
) - run the api with
poetry run python3 src/app.py
orpoetry run py src/app.py