Update utils/ingest_image.py
Browse files- utils/ingest_image.py +1 -1
utils/ingest_image.py
CHANGED
@@ -46,8 +46,8 @@ def extract_and_store_images(pdf_path,images_dir=r'extracted_images'):
|
|
46 |
uris.append(file_path)
|
47 |
print(file_path)
|
48 |
|
|
|
49 |
image_collection.add(ids=ids, uris=uris)
|
50 |
print("Images added to the database.")
|
51 |
-
# return image_vdb
|
52 |
return image_collection
|
53 |
|
|
|
46 |
uris.append(file_path)
|
47 |
print(file_path)
|
48 |
|
49 |
+
print("Image adding to db")
|
50 |
image_collection.add(ids=ids, uris=uris)
|
51 |
print("Images added to the database.")
|
|
|
52 |
return image_collection
|
53 |
|