A container that serves an HTTP API that can be used to classify the toxicity of a text message.
Run the following command to start the server on port 1234
.
docker run --pull always --rm --name detoxify-flask \
-p 1234:80 \
ghcr.io/nedix/detoxify-flask-docker
Send a network request to classify the toxicity of a text message.
curl '127.0.0.1:1234?text=foobar'