HTTP API to classify the toxicity of text messages.
4.6K
HTTP API to classify the toxicity of text messages.
The following command will start the container using port 80 for the API.
docker run \
--name detoxify \
--pull always \
--restart unless-stopped \
-p 127.0.0.1:80:80 \
nedix/detoxify
This command sends a HTTP request to classify the toxicity of a message.
curl '127.0.0.1:80?text=foobar'
Content type
Image
Digest
sha256:00d99a31b…
Size
1.7 GB
Last updated
21 days ago
docker pull nedix/detoxify