Spaces:
Runtime error
Runtime error
import gradio as gr | |
description = "Get sentiment if a comment is 'no cyber bullying' or 'cyber bullying'.The predicted outputs refer to 'cyber bullying' for racism and sexism comments and 'no cyber bullying' for others comments. | |
please do flag if you feel that the required output isn't desired output " | |
title = "Cyber Bullying Sentiment Classifier" | |
examples = [["lets have a coffee later on"],["go to hell Muslims "],["I respect your work ethics"],["black peoples lives doesn't matter"]] | |
gr.Interface.load("models/Amitesh007/tw-sentiment-finetuned", | |
description = description, | |
title = title, | |
examples = examples, | |
allow_flagging="manual", | |
flagging_options=["incorrect", "ambiguous"] | |
).launch() |