Skip to content

Commit 8123b94

Browse files
committed
Updated example [skip ci]
1 parent c8c45b9 commit 8123b94

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/pytorch_image_search.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ def generate_embeddings(inputs):
4949
params = [embedding for embedding in embeddings]
5050
conn.execute(sql, params)
5151

52-
print('Creating index')
53-
conn.execute('CREATE INDEX ON image USING hnsw (embedding vector_cosine_ops)')
54-
5552

5653
def show_images(dataset_images):
5754
grid = torchvision.utils.make_grid(dataset_images)

0 commit comments

Comments
 (0)