Spaces:
Build error
Build error
add examples
Browse files- app.py +6 -1
- example/fear.jpg +0 -0
- example/happy.jpg +0 -0
- example/sad.jpg +0 -0
app.py
CHANGED
|
@@ -30,7 +30,12 @@ demo = gr.Interface(
|
|
| 30 |
gr.inputs.Image(label="Prediction"),
|
| 31 |
],
|
| 32 |
title="Emotion Recognition Demo",
|
| 33 |
-
description="Emotion Classification Model trained on FER Dataset"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
)
|
| 35 |
|
| 36 |
demo.launch(debug=True)
|
|
|
|
| 30 |
gr.inputs.Image(label="Prediction"),
|
| 31 |
],
|
| 32 |
title="Emotion Recognition Demo",
|
| 33 |
+
description="Emotion Classification Model trained on FER Dataset",
|
| 34 |
+
examples=[
|
| 35 |
+
["example/fear.jpg", 'EfficientNetB0'],
|
| 36 |
+
["example/sad.jpg", 'EfficientNetB0'],
|
| 37 |
+
["example/happy.jpg", 'EfficientNetB0'],
|
| 38 |
+
],
|
| 39 |
)
|
| 40 |
|
| 41 |
demo.launch(debug=True)
|
example/fear.jpg
ADDED
|
example/happy.jpg
ADDED
|
example/sad.jpg
ADDED
|