From e9b31f7dd9d2e5e3cd654d1fd22a1c988ba4cd4d Mon Sep 17 00:00:00 2001 From: Ravi Date: Wed, 31 May 2023 22:42:10 +0530 Subject: [PATCH] Update ingest.py Co-authored-by: Bailey Matthews --- ingest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingest.py b/ingest.py index 620a652..2930138 100755 --- a/ingest.py +++ b/ingest.py @@ -97,7 +97,7 @@ def load_documents(source_dir: str, ignored_files: List[str] = []) -> List[Docum all_files = [] for ext in LOADER_MAPPING: all_files.extend( - glob.glob(os.path.join(source_dir, f"**/*{ext}"), recursive=True) + glob.glob(os.path.join(source_dir, f"**/*{ext}"), recursive=True) ) filtered_files = [file_path for file_path in all_files if file_path not in ignored_files]