Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

chore: drop an unused import from the cluster-labels router test

Lincoln Stein1ecef5f19f40
diff --git a/tests/app/routers/test_image_map.py b/tests/app/routers/test_image_map.py
index 8f09a7956e..094a50b473 100644
--- a/tests/app/routers/test_image_map.py
+++ b/tests/app/routers/test_image_map.py
@@ -851,8 +851,6 @@ def test_cluster_labels_skips_the_embedding_gather_when_nothing_clustered(
# returns {} for that. Gathering the accessible rows first copies
# len(visible) x D float32 for nothing — gigabytes on the large galleries
# /points is written for, once per points refresh.
- from invokeai.app.services.image_index import image_index_default
-
_seed_embedded_image(mock_invoker, "a.png")
_seed_projection(mock_invoker, SYSTEM_USER_ID, ["a.png"], np.zeros((1, 2), dtype=np.float32))