Spaces:
Runtime error
Runtime error
File size: 449 Bytes
6a69b91 |
1 2 3 4 5 6 7 8 9 10 11 |
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()
|