Spaces:
Sleeping
Sleeping
Update
Browse files
app.py
CHANGED
|
@@ -10,8 +10,8 @@ def get_attributes(json):
|
|
| 10 |
age = attr.get('age')
|
| 11 |
gender = attr.get('gender')
|
| 12 |
emotion = attr.get('emotion')
|
| 13 |
-
ethnicity =
|
| 14 |
-
mask =
|
| 15 |
eye = ["LEFT"]
|
| 16 |
facehair = "attr.get('facial_hair')"
|
| 17 |
haircolor = "attr.get('hair_color')"
|
|
|
|
| 10 |
age = attr.get('age')
|
| 11 |
gender = attr.get('gender')
|
| 12 |
emotion = attr.get('emotion')
|
| 13 |
+
ethnicity = attr.get('ethnicity')
|
| 14 |
+
mask = [attr.get('face_mask'), attr.get('glasses')]
|
| 15 |
eye = ["LEFT"]
|
| 16 |
facehair = "attr.get('facial_hair')"
|
| 17 |
haircolor = "attr.get('hair_color')"
|