Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,16 @@ import gradio as gr
|
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
app_title = "Portuguese Hate Speech Detection
|
6 |
|
7 |
app_description = """
|
8 |
-
This app
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
"""
|
10 |
|
11 |
app_examples = [
|
|
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
app_title = "Portuguese Hate Speech Detection"
|
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 (NLP) 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).
|
15 |
"""
|
16 |
|
17 |
app_examples = [
|