Spaces:
Runtime error
Runtime error
shawarmabytes
commited on
Commit
•
0ebbd67
1
Parent(s):
b838c40
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ from transformers import pipeline
|
|
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 |
-
|
12 |
|
13 |
|
14 |
|
|
|
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 |
|
14 |
|