From bb98c10abbc1a5d25712937c00a743bc8a8cb016 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 6 Mar 2024 17:04:40 -0800 Subject: [PATCH] revert: ocr feature --- backend/apps/rag/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/rag/main.py b/backend/apps/rag/main.py index 45ad6970..99aa6959 100644 --- a/backend/apps/rag/main.py +++ b/backend/apps/rag/main.py @@ -425,7 +425,7 @@ def get_loader(filename: str, file_content_type: str, file_path: str): ] if file_ext == "pdf": - loader = PyPDFLoader(file_path, extract_images=True) + loader = PyPDFLoader(file_path) elif file_ext == "csv": loader = CSVLoader(file_path) elif file_ext == "rst":