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