Spaces:
Sleeping
Sleeping
abdulmatinomotoso
commited on
Commit
·
9a7fc8c
1
Parent(s):
29f1187
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
7 |
import torch
|
8 |
|
9 |
#Defining the labels of the models
|
10 |
-
labels = ['
|
11 |
|
12 |
#Defining the models and tokenuzer
|
13 |
model_name = 'valurank/finetuned-distilbert-news-article-categorization'
|
|
|
7 |
import torch
|
8 |
|
9 |
#Defining the labels of the models
|
10 |
+
labels = ['business', 'science','health', 'world', 'sport', 'politics','entertainment', 'tech']
|
11 |
|
12 |
#Defining the models and tokenuzer
|
13 |
model_name = 'valurank/finetuned-distilbert-news-article-categorization'
|