methodw commited on
Commit
bd9a56b
1 Parent(s): c289125

fix key name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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["cdn"] = images[matching_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)