Spaces:
Build error
Build error
Commit ·
618a85c
1
Parent(s): 3141888
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ target_list = ["Playful", "Infuriating", "Sentimental", "Cynical", "Depressing",
|
|
| 10 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
| 11 |
|
| 12 |
|
| 13 |
-
model_name = '
|
| 14 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
| 15 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 16 |
|
|
|
|
| 10 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
| 11 |
|
| 12 |
|
| 13 |
+
model_name = 'valurank/finetuned-distilbert-multi-label-emotion'
|
| 14 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
| 15 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 16 |
|