Pavankumar9026 commited on
Commit
fa0f53f
·
1 Parent(s): e6c0528

Fix runtime error

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -47,14 +47,7 @@ demo = gr.Interface(
47
  gr.Textbox(label="Confidence")
48
  ],
49
  title="🛡️ Hate Speech Detector",
50
- description="Enter any text to check if it contains hate speech.",
51
- examples=[
52
- ["I love everyone and believe in equality!"],
53
- ["I hate those people, they should be banned."],
54
- ["This is a great day to be alive!"],
55
- ["Those people are disgusting and should leave."]
56
- ],
57
- theme=gr.themes.Soft()
58
  )
59
 
60
  if __name__ == "__main__":
 
47
  gr.Textbox(label="Confidence")
48
  ],
49
  title="🛡️ Hate Speech Detector",
50
+ description="Enter any text to check if it contains hate speech."
 
 
 
 
 
 
 
51
  )
52
 
53
  if __name__ == "__main__":