Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,6 @@ from evaluate import load
|
|
| 11 |
from guidelines import guidelines
|
| 12 |
|
| 13 |
human2_annotation_file = "test.jsonl"
|
| 14 |
-
space = "Iker/ClickbaitAnnotation"
|
| 15 |
|
| 16 |
|
| 17 |
def clean_text(text: str) -> str:
|
|
@@ -68,7 +67,7 @@ class AnnotationManager:
|
|
| 68 |
def __init__(self):
|
| 69 |
self.dataset = list(
|
| 70 |
load_dataset(
|
| 71 |
-
"Iker/
|
| 72 |
)
|
| 73 |
)
|
| 74 |
|
|
@@ -80,7 +79,7 @@ class AnnotationManager:
|
|
| 80 |
|
| 81 |
try:
|
| 82 |
huggingface_hub.hf_hub_download(
|
| 83 |
-
repo_id=
|
| 84 |
repo_type="dataset",
|
| 85 |
token=os.environ.get("TOKEN") or True,
|
| 86 |
filename="test.jsonl",
|
|
|
|
| 11 |
from guidelines import guidelines
|
| 12 |
|
| 13 |
human2_annotation_file = "test.jsonl"
|
|
|
|
| 14 |
|
| 15 |
|
| 16 |
def clean_text(text: str) -> str:
|
|
|
|
| 67 |
def __init__(self):
|
| 68 |
self.dataset = list(
|
| 69 |
load_dataset(
|
| 70 |
+
"Iker/NoticIA", token=os.environ.get("TOKEN") or True, split="test"
|
| 71 |
)
|
| 72 |
)
|
| 73 |
|
|
|
|
| 79 |
|
| 80 |
try:
|
| 81 |
huggingface_hub.hf_hub_download(
|
| 82 |
+
repo_id="Iker/NoticIA_Human_Validation",
|
| 83 |
repo_type="dataset",
|
| 84 |
token=os.environ.get("TOKEN") or True,
|
| 85 |
filename="test.jsonl",
|