Spaces:
Runtime error
Runtime error
Commit
·
f3cb11d
1
Parent(s):
ff84e55
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,9 @@ learner = from_pretrained_fastai(repo_id)
|
|
8 |
labels = learner.dls.vocab
|
9 |
|
10 |
# Definimos las etiquetas de nuestro modelo
|
11 |
-
labels = list(range(28))
|
|
|
|
|
12 |
|
13 |
example1 = "As the gentle breeze caressed the emerald fields, a symphony of rustling leaves and chirping birds filled the air, creating a harmonious melody that echoed through the tranquil countryside."
|
14 |
|
|
|
8 |
labels = learner.dls.vocab
|
9 |
|
10 |
# Definimos las etiquetas de nuestro modelo
|
11 |
+
#labels = list(range(28))
|
12 |
+
labels=["admiration","amusement","anger","annoyance","approval","caring","confusion","curiosity","desire","disappointment","disapproval","disgust","embarrasement",
|
13 |
+
"excitement","fear","gratitude","grief","joy","love","nervousness","optimism","pride","realization","relief","remorse","sadness","surprise","neutral"]
|
14 |
|
15 |
example1 = "As the gentle breeze caressed the emerald fields, a symphony of rustling leaves and chirping birds filled the air, creating a harmonious melody that echoed through the tranquil countryside."
|
16 |
|