Spaces:
Running
Running
Update app.py
#7
by
Mahmoudmody777
- opened
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 |
-
out_array.append((base64_to_image(item["image"]), item["url"]
|
|
|
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:
|