"...composable_kernel.git" did not exist on "bc7b53348b81a25b1122480739de63778a4cda08"
Commit b88c64f8 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: ocr issue

parent dc6e91a2
...@@ -425,7 +425,7 @@ def get_loader(filename: str, file_content_type: str, file_path: str): ...@@ -425,7 +425,7 @@ def get_loader(filename: str, file_content_type: str, file_path: str):
] ]
if file_ext == "pdf": if file_ext == "pdf":
loader = PyPDFLoader(file_path) loader = PyPDFLoader(file_path, extract_images=True)
elif file_ext == "csv": elif file_ext == "csv":
loader = CSVLoader(file_path) loader = CSVLoader(file_path)
elif file_ext == "rst": elif file_ext == "rst":
......
...@@ -35,6 +35,7 @@ openpyxl ...@@ -35,6 +35,7 @@ openpyxl
pyxlsb pyxlsb
xlrd xlrd
rapidocr-onnxruntime rapidocr-onnxruntime
opencv-python-headless
faster-whisper faster-whisper
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment