Spaces:
Running
Running
fix key name
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def process_image(image):
|
|
63 |
|
64 |
for idx, matching_gamerpic in enumerate(indices[0]):
|
65 |
gamerpic = {}
|
66 |
-
gamerpic["
|
67 |
gamerpic["score"] = str(round((1 / (distances[0][idx] + 1) * 100), 2)) + "%"
|
68 |
|
69 |
print(gamerpic)
|
|
|
63 |
|
64 |
for idx, matching_gamerpic in enumerate(indices[0]):
|
65 |
gamerpic = {}
|
66 |
+
gamerpic["id"] = images[matching_gamerpic]
|
67 |
gamerpic["score"] = str(round((1 / (distances[0][idx] + 1) * 100), 2)) + "%"
|
68 |
|
69 |
print(gamerpic)
|