gilramos commited on
Commit
2613907
1 Parent(s): d821d24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -2,16 +2,14 @@ import gradio as gr
2
  import torch
3
  from transformers import pipeline
4
 
5
- app_title = "Portuguese Hate Speech Detection (NFAA)"
6
 
7
  app_description = """
8
- This app is the culmination of the kNOwHATE consortium project, which aimed to tackle Online Hate Speech in the Portuguese comunity. It serves as an user-friendly interface to classify text and identify instances of Hate Speech.
9
 
10
- This app leverages state-of-the-art Natural Language Processing models developed in the scope of this project to classify harmful text.
11
 
12
- Select a model from the dropdown menu and input your text to see the classification results. Explore the examples of Hate Speech and Non-Hate Speech offered, and join us in fostering a safer and more respectful online community.
13
-
14
- For more information about the kNOwHATE project and its initiatives, visit our website [here](https://knowhate.eu) and to explore and use these models visit our Hugging Face page [here](https://huggingface.co/knowhate).
15
  """
16
 
17
  app_examples = [
 
2
  import torch
3
  from transformers import pipeline
4
 
5
+ app_title = "kNOwHATE Prototype: OHS Detection (Not for All Audiences)"
6
 
7
  app_description = """
8
+ This prototype from the kNOwHATE project aims to detect online hate speech (OHS) in European Portuguese. We collected 24,739 YouTube comments and 29,846 tweets, annotated by experts, and trained our prototype on this data.
9
 
10
+ We invite you to try it out. You can just enter a sentence below and submit it to see if it contains hate speech.
11
 
12
+ For more, visit our [website](https://knowhate.eu) and [Hugging Face page](https://huggingface.co/knowhate).
 
 
13
  """
14
 
15
  app_examples = [