Skip to content
This repository was archived by the owner on Feb 5, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 731 Bytes

File metadata and controls

26 lines (18 loc) · 731 Bytes

Emotion Correction with Shap API

This repository contains an API that detects toxic emotions in text.

How to run

Running locally (with reloading)

git clone https://github.com/knmlprz/ShapEmotionsCorrectionAPI.git
cd ShapEmotionsCorrectionAPI
poetry run uvicorn src.main:app --reload

Running from docker

docker run -p 8000:8000 finloop/shap-emotions-correction-api:latest

Documentation

All the documentation can be found here: Documentation Unfortunately, you cannot make any requests from there, because the api is not hosted anywhere. To view interactive version of the docs go to docs endpoint.