Spaces:
Runtime error
Runtime error
Commit
·
0a82997
1
Parent(s):
6fb37a6
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,7 @@ import re
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
|
|
| 9 |
|
| 10 |
#Defining the models and tokenuzer
|
| 11 |
model_name = "valurank/distilroberta-topic-classification"
|
|
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 9 |
+
from topic_labels import labels
|
| 10 |
|
| 11 |
#Defining the models and tokenuzer
|
| 12 |
model_name = "valurank/distilroberta-topic-classification"
|