davidlee1102 commited on
Commit
3feddd7
·
1 Parent(s): 7b4219a

Update model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,6 +67,6 @@ if st.button("Classify"):
67
  distance_list.append(1 / (1 + distance))
68
 
69
  max_index = np.argmax(distance_list)
70
- image_matches = image_list[max_index].get("name")
71
 
72
  col2.write(f"len image: {image_matches}")
 
67
  distance_list.append(1 / (1 + distance))
68
 
69
  max_index = np.argmax(distance_list)
70
+ image_matches = image_list[max_index]
71
 
72
  col2.write(f"len image: {image_matches}")