Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,16 +2,14 @@ import gradio as gr
|
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
app_title = "
|
6 |
|
7 |
app_description = """
|
8 |
-
This
|
9 |
|
10 |
-
|
11 |
|
12 |
-
|
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 = [
|