Spaces:
Runtime error
Runtime error
Commit ·
b01ccca
1
Parent(s): ad45d79
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,8 +56,8 @@ def check_by_url(txt_url):
|
|
| 56 |
normalized_content_with_style += normalized_content_without_style
|
| 57 |
new_data = {"title": title, "content": normalized_content_with_style}
|
| 58 |
|
| 59 |
-
model = DistilBertForSequenceClassification.from_pretrained(
|
| 60 |
-
tokenizer = DistilBertTokenizer.from_pretrained(
|
| 61 |
|
| 62 |
test_encodings = tokenizer.encode_plus(
|
| 63 |
title,
|
|
|
|
| 56 |
normalized_content_with_style += normalized_content_without_style
|
| 57 |
new_data = {"title": title, "content": normalized_content_with_style}
|
| 58 |
|
| 59 |
+
model = DistilBertForSequenceClassification.from_pretrained(".")
|
| 60 |
+
tokenizer = DistilBertTokenizer.from_pretrained(".")
|
| 61 |
|
| 62 |
test_encodings = tokenizer.encode_plus(
|
| 63 |
title,
|