Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,10 +60,10 @@ EMOTIONS = ['neutral','happiness','surprise','sadness','anger','disgust','fear',
|
|
60 |
# gr.components.Image(label="Predicted Emotion"),
|
61 |
# gr.components.Label(num_top_classes=2, label="Top 2 Probabilities")
|
62 |
# ]
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
|
68 |
# # gr.Interface(predict, inp, out, capture_session=True, title=title, thumbnail=thumbnail,
|
69 |
# # description=description).launch(inbrowser=True)
|
|
|
60 |
# gr.components.Image(label="Predicted Emotion"),
|
61 |
# gr.components.Label(num_top_classes=2, label="Top 2 Probabilities")
|
62 |
# ]
|
63 |
+
title = "Facial Emotion Recognition"
|
64 |
+
description = "How well can this model predict your emotions? Take a picture with your webcam, and it will guess if" \
|
65 |
+
" you are: happy, sad, angry, disgusted, scared, surprised, or neutral."
|
66 |
+
thumbnail = "https://raw.githubusercontent.com/gradio-app/hub-emotion-recognition/master/thumbnail.png"
|
67 |
|
68 |
# # gr.Interface(predict, inp, out, capture_session=True, title=title, thumbnail=thumbnail,
|
69 |
# # description=description).launch(inbrowser=True)
|