iimran commited on
Commit
052069b
·
verified ·
1 Parent(s): 0f3fb53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -92,8 +92,13 @@ if __name__ == "__main__":
92
  fn=gradio_predict,
93
  inputs=gr.Textbox(lines=7, placeholder="Enter text here..."),
94
  outputs="text",
95
- title="RudeRater - Content Appropriateness Classifier",
96
- description="RudeRater is designed to identify inappropriate content in text. It analyzes input for offensive language and explicit content. It's trained on a tiny database so it might not be able to detect something fancy, but should easily detect day to day used offensive language.",
 
 
 
 
 
97
  examples=[
98
  "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?",
99
  "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.",
 
92
  fn=gradio_predict,
93
  inputs=gr.Textbox(lines=7, placeholder="Enter text here..."),
94
  outputs="text",
95
+ title="RudeRater - Offensive Language Detector",
96
+ description=(
97
+ "RudeRater is designed to identify inappropriate content in text. "
98
+ "It analyzes input for offensive language and explicit content. "
99
+ "While it's trained on a compact dataset and may not catch highly nuanced or sophisticated language, "
100
+ "it effectively detects day-to-day offensive language commonly used in conversations."
101
+ )
102
  examples=[
103
  "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?",
104
  "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.",