Update app.py
Browse files
app.py
CHANGED
|
@@ -2241,7 +2241,7 @@ def similarity_matching(sprites_data: dict, project_folder: str, top_k: int = 1,
|
|
| 2241 |
matched_indices = sorted({idx for lst in per_sprite_matched_indices for idx in lst})
|
| 2242 |
print("matched_indices=========================>",matched_indices)
|
| 2243 |
for matched_idx in matched_indices:
|
| 2244 |
-
|
| 2245 |
# matched_folder = os.path.dirname(matched_image_path)
|
| 2246 |
# matched_filename = os.path.basename(matched_image_path)
|
| 2247 |
# matched_image_path = paths_list[matched_idx]
|
|
|
|
| 2241 |
matched_indices = sorted({idx for lst in per_sprite_matched_indices for idx in lst})
|
| 2242 |
print("matched_indices=========================>",matched_indices)
|
| 2243 |
for matched_idx in matched_indices:
|
| 2244 |
+
matched_image_path = paths_list[matched_idx]
|
| 2245 |
# matched_folder = os.path.dirname(matched_image_path)
|
| 2246 |
# matched_filename = os.path.basename(matched_image_path)
|
| 2247 |
# matched_image_path = paths_list[matched_idx]
|