data-silence commited on
Commit
8a31c02
1 Parent(s): 58f9bf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
3
  import torch
4
 
5
  # Загрузка модели и токенизатора
6
- model_name = "data-silence/rus-news-classifier" # Замените на путь к вашей модели на HF
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