jarif commited on
Commit
c543d72
·
verified ·
1 Parent(s): e502b01

Update ingest.py

Browse files
Files changed (1) hide show
  1. ingest.py +2 -0
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