Spaces:
Runtime error
Runtime error
Lambang
commited on
Commit
·
0b06e10
1
Parent(s):
9943f34
up
Browse files
main.py
CHANGED
|
@@ -153,6 +153,7 @@ def get_images():
|
|
| 153 |
# Gender classification
|
| 154 |
gender_classify = get_gender('./static/result_upload0.jpg')
|
| 155 |
output_gender = max(gender_classify, key=lambda x: x['score'])['label']
|
|
|
|
| 156 |
|
| 157 |
|
| 158 |
# Hairstyle recommendation
|
|
|
|
| 153 |
# Gender classification
|
| 154 |
gender_classify = get_gender('./static/result_upload0.jpg')
|
| 155 |
output_gender = max(gender_classify, key=lambda x: x['score'])['label']
|
| 156 |
+
print(output_gender)
|
| 157 |
|
| 158 |
|
| 159 |
# Hairstyle recommendation
|