Spaces:
Runtime error
Runtime error
coco-gelamay
commited on
Commit
•
2bd7a78
1
Parent(s):
f82ccf0
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def object_classify(img1,img2):
|
|
29 |
objects_2.append(j['label'])
|
30 |
|
31 |
#gets the uncommon elements from the 2 lists
|
32 |
-
missing_objects=
|
33 |
|
34 |
return missing_objects
|
35 |
|
|
|
29 |
objects_2.append(j['label'])
|
30 |
|
31 |
#gets the uncommon elements from the 2 lists
|
32 |
+
missing_objects= *list(set(objects_1)-set(objects_2)), sep = ", "
|
33 |
|
34 |
return missing_objects
|
35 |
|