Spaces:
Runtime error
Runtime error
ok
Browse files
app.py
CHANGED
@@ -5,7 +5,8 @@ from transformers import pipeline
|
|
5 |
from transformers import AutoTokenizer, AutoModelWithLMHead
|
6 |
|
7 |
|
8 |
-
model_name="nateraw/bert-base-uncased-emotion"
|
|
|
9 |
model = pipeline('text-classification', model_name, truncation=True)
|
10 |
|
11 |
model_name = "mrm8488/t5-base-finetuned-emotion"
|
|
|
5 |
from transformers import AutoTokenizer, AutoModelWithLMHead
|
6 |
|
7 |
|
8 |
+
#model_name="nateraw/bert-base-uncased-emotion"
|
9 |
+
model_name="bhadresh-savani/bert-base-go-emotion"
|
10 |
model = pipeline('text-classification', model_name, truncation=True)
|
11 |
|
12 |
model_name = "mrm8488/t5-base-finetuned-emotion"
|