Spaces:
Running
Running
Mahmoudmody777
commited on
Commit
β’
33711f9
1
Parent(s):
149f317
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,8 @@ def search_face(file):
|
|
33 |
res = r.json().get('img_array')
|
34 |
out_array = []
|
35 |
for item in res:
|
36 |
-
|
|
|
37 |
count += 1
|
38 |
return out_array, count
|
39 |
except:
|
|
|
33 |
res = r.json().get('img_array')
|
34 |
out_array = []
|
35 |
for item in res:
|
36 |
+
out_array.append((base64_to_image(item["image"]), item["url"]))
|
37 |
+
|
38 |
count += 1
|
39 |
return out_array, count
|
40 |
except:
|