Spaces:
Runtime error
Runtime error
Commit
·
2682280
1
Parent(s):
18e958b
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,9 @@ from transformers import pipeline
|
|
5 |
|
6 |
|
7 |
def tester(text):
|
8 |
-
classifier = pipeline("sentiment-analysis", model='arpanghoshal/EmoRoBERTa')
|
9 |
#classifier = pipeline("sentiment-analysis", model='cardiffnlp/twitter-roberta-base-emotion')
|
10 |
-
|
11 |
#classifier = pipeline("sentiment-analysis", model='cardiffnlp/twitter-roberta-base-emotion')
|
12 |
|
13 |
|
|
|
5 |
|
6 |
|
7 |
def tester(text):
|
8 |
+
#classifier = pipeline("sentiment-analysis", model='arpanghoshal/EmoRoBERTa')
|
9 |
#classifier = pipeline("sentiment-analysis", model='cardiffnlp/twitter-roberta-base-emotion')
|
10 |
+
classifier = pipeline("sentiment-analysis", 'j-hartmann/emotion-english-distilroberta-base')
|
11 |
#classifier = pipeline("sentiment-analysis", model='cardiffnlp/twitter-roberta-base-emotion')
|
12 |
|
13 |
|