Spaces:
Sleeping
Sleeping
Commit
·
b578d51
1
Parent(s):
48e42af
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ target_list = ["Cute", "Infuriating", "Sentimental", "Empathetic",
|
|
11 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
12 |
|
13 |
|
14 |
-
model_name = 'abdulmatinomotoso/finetuned-distilbert-multi-label-
|
15 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
16 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
17 |
|
|
|
11 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
12 |
|
13 |
|
14 |
+
model_name = 'abdulmatinomotoso/finetuned-distilbert-multi-label-emotion_6'
|
15 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
16 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
17 |
|