Spaces:
Runtime error
Runtime error
Update auditqa/doc_process.py
Browse files- auditqa/doc_process.py +1 -0
auditqa/doc_process.py
CHANGED
@@ -4,6 +4,7 @@ from langchain_text_splitters import MarkdownHeaderTextSplitter
|
|
4 |
from langchain_community.document_loaders import UnstructuredMarkdownLoader
|
5 |
from langchain.text_splitter import RecursiveCharacterTextSplitter, SentenceTransformersTokenTextSplitter
|
6 |
from transformers import AutoTokenizer
|
|
|
7 |
path_to_data = "./data/"
|
8 |
|
9 |
def process_markdown():
|
|
|
4 |
from langchain_community.document_loaders import UnstructuredMarkdownLoader
|
5 |
from langchain.text_splitter import RecursiveCharacterTextSplitter, SentenceTransformersTokenTextSplitter
|
6 |
from transformers import AutoTokenizer
|
7 |
+
from langchain.document_loaders import PyMuPDFLoader
|
8 |
path_to_data = "./data/"
|
9 |
|
10 |
def process_markdown():
|