Spaces:
Runtime error
Runtime error
Edward Ross
commited on
Commit
·
4be6a0c
1
Parent(s):
42cfeaf
Remove neutral class and switch to resnet34
Browse files- app.py +2 -2
- export.pkl +2 -2
- neutral.jpg +0 -0
app.py
CHANGED
@@ -11,9 +11,9 @@ def predict(img):
|
|
11 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
12 |
|
13 |
title = "Emotion Classifier"
|
14 |
-
description = "An emotion classifier trained on AffectNet with fastai. Identifies emotions of anger, disgust, fear, happy,
|
15 |
|
16 |
-
examples = ["happy.jpg", "
|
17 |
|
18 |
gr.Interface(
|
19 |
fn=predict,
|
|
|
11 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
12 |
|
13 |
title = "Emotion Classifier"
|
14 |
+
description = "An emotion classifier trained on AffectNet with fastai. Identifies emotions of anger, disgust, fear, happy, and sad."
|
15 |
|
16 |
+
examples = ["happy.jpg", "sad.jpg", "angry.jpg", "fear.jpg", "disgust.jpg"]
|
17 |
|
18 |
gr.Interface(
|
19 |
fn=predict,
|
export.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ffcda749efec518645832aa25e02f2d7fbd80d541d118faf56b46dc41279cf05
|
3 |
+
size 87893409
|
neutral.jpg
DELETED
Binary file (16.6 kB)
|
|