Spaces:
Runtime error
Runtime error
import gradio as gr | |
gr.load( | |
name="tillschwoerer/roberta-base-finetuned-toxic-comment-detection", | |
src="models", | |
title="Toxic comment detection", | |
description="Say if the prompt is toxic or not.", | |
article="Check out the [model repo](https://huggingface.co/tillschwoerer/roberta-base-finetuned-toxic-comments-detection) that this demo is based off of.", | |
examples=[["I hate you!"], ['I love you!'], ['I am a cat.']], | |
).launch() | |