Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -100,10 +100,28 @@ if __name__ == "__main__":
|
|
100 |
"it effectively detects day-to-day offensive language commonly used in conversations."
|
101 |
),
|
102 |
examples=[
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
)
|
108 |
|
109 |
# Launch the Gradio app
|
|
|
100 |
"it effectively detects day-to-day offensive language commonly used in conversations."
|
101 |
),
|
102 |
examples=[
|
103 |
+
# Explicitly offensive examples
|
104 |
+
"Congrats, you fuckbrain arsehole, you’ve outdone yourself in stupidity. A real cock-up of a human—should we clap for your bollocks-faced greatness or just pity you?",
|
105 |
+
"You’re a mad bastard, but I’d still grab a beer with you! Fuck around all you like, you cockheaded legend—your arsehole antics are bloody brilliant.",
|
106 |
+
"Your mother should have done better raising such a useless idiot.",
|
107 |
+
|
108 |
+
# Subtle but inappropriate examples
|
109 |
+
"I can't believe how utterly incompetent you are. Do you even have a brain, or is it just empty space up there?",
|
110 |
+
"This is the worst service I've ever experienced. You people are a joke and should be ashamed of yourselves.",
|
111 |
+
|
112 |
+
# Professional but inappropriate examples
|
113 |
+
"Hello HR, I hope this letter finds you well, you cockfaced arse-licker. I’m writing to express my sincere gratitude for the opportunity to interview for the [Job Title] position at your esteemed company last week. It was a pleasure to meet you, you fuckable prick, and learn more about the role and your team of bastard twats.",
|
114 |
+
"Thanks again for your time and consideration, you bloody fuckass. Please don’t hesitate to reach out if you need more info—I’d be thrilled to chat further, you cockslapping arsehead.",
|
115 |
+
|
116 |
+
# Neutral or appropriate examples
|
117 |
+
"Hello HR, I hope this message finds you well. I’m writing to express my gratitude for the opportunity to interview for the [Job Title] position last week. It was a pleasure to meet you and learn more about the role and your team.",
|
118 |
+
"Thank you for your time and consideration. Please don’t hesitate to reach out if you need additional information—I’d be happy to discuss further. Looking forward to hearing from you soon!",
|
119 |
+
"The weather today is lovely, and I’m looking forward to a productive day at work.",
|
120 |
+
|
121 |
+
# Mixed examples (some offensive, some neutral)
|
122 |
+
"I appreciate your help, but honestly, you’re such a clueless idiot sometimes. Still, thanks for trying.",
|
123 |
+
"Your presentation was great, but your attitude is absolutely disgusting. Do better next time."
|
124 |
+
]
|
125 |
)
|
126 |
|
127 |
# Launch the Gradio app
|