Spaces:
Runtime error
Runtime error
Anonymous Authors
commited on
Commit
·
66beef4
1
Parent(s):
cece7ed
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def show_cluster(cl_id, num_clusters):
|
|
21 |
img_path = os.path.join("identities-images", img_path)
|
22 |
images.append(Image.open(img_path))
|
23 |
return (len(cl_dct['img_path_list']),
|
24 |
-
json.dumps(dict(cl_dct["labels_gender"])),
|
25 |
dict(cl_dct["labels_model"]),
|
26 |
dict(cl_dct["labels_ethnicity"]),
|
27 |
images)
|
|
|
21 |
img_path = os.path.join("identities-images", img_path)
|
22 |
images.append(Image.open(img_path))
|
23 |
return (len(cl_dct['img_path_list']),
|
24 |
+
json.dumps(dict(cl_dct["labels_gender"]), indent = 4)),
|
25 |
dict(cl_dct["labels_model"]),
|
26 |
dict(cl_dct["labels_ethnicity"]),
|
27 |
images)
|