Update ingest.py
Browse files
ingest.py
CHANGED
@@ -74,6 +74,8 @@ def create_faiss_index():
|
|
74 |
print(f"Index file size: {file_size} bytes")
|
75 |
if file_size == 0:
|
76 |
print(f"Index file '{index_file_path}' is empty.")
|
|
|
|
|
77 |
except Exception as e:
|
78 |
print(f"Failed to save FAISS index: {e}")
|
79 |
|
|
|
74 |
print(f"Index file size: {file_size} bytes")
|
75 |
if file_size == 0:
|
76 |
print(f"Index file '{index_file_path}' is empty.")
|
77 |
+
else:
|
78 |
+
print(f"Index file '{index_file_path}' created successfully.")
|
79 |
except Exception as e:
|
80 |
print(f"Failed to save FAISS index: {e}")
|
81 |
|