Spaces:
Runtime error
Runtime error
data-silence
commited on
Commit
•
8a31c02
1
Parent(s):
58f9bf8
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
3 |
import torch
|
4 |
|
5 |
# Загрузка модели и токенизатора
|
6 |
-
model_name = "data-silence/
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
8 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
9 |
|
|
|
3 |
import torch
|
4 |
|
5 |
# Загрузка модели и токенизатора
|
6 |
+
model_name = "data-silence/any-news-classifier"
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
8 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
9 |
|