Update utils/ingest_image.py
Browse files- utils/ingest_image.py +1 -1
utils/ingest_image.py
CHANGED
@@ -34,7 +34,7 @@ def extract_and_store_images(pdf_path,images_dir=r'extracted_images'):
|
|
34 |
image_loader = ImageLoader()
|
35 |
CLIP = OpenCLIPEmbeddingFunction()
|
36 |
image_collection = client.get_or_create_collection(name="image", embedding_function=CLIP, data_loader=image_loader)
|
37 |
-
|
38 |
|
39 |
ids = []
|
40 |
uris = []
|
|
|
34 |
image_loader = ImageLoader()
|
35 |
CLIP = OpenCLIPEmbeddingFunction()
|
36 |
image_collection = client.get_or_create_collection(name="image", embedding_function=CLIP, data_loader=image_loader)
|
37 |
+
print("clip embedding.")
|
38 |
|
39 |
ids = []
|
40 |
uris = []
|