Spaces:
Runtime error
Runtime error
Update auditqa/doc_process.py
Browse files- auditqa/doc_process.py +2 -3
auditqa/doc_process.py
CHANGED
@@ -2,9 +2,8 @@ import glob
|
|
2 |
import os
|
3 |
from langchain_text_splitters import MarkdownHeaderTextSplitter
|
4 |
from langchain_community.document_loaders import UnstructuredMarkdownLoader
|
5 |
-
path_to_data = "
|
6 |
-
|
7 |
-
print(cwd)
|
8 |
def process_markdown():
|
9 |
headers_to_split_on = [
|
10 |
("#", "Header 1"),
|
|
|
2 |
import os
|
3 |
from langchain_text_splitters import MarkdownHeaderTextSplitter
|
4 |
from langchain_community.document_loaders import UnstructuredMarkdownLoader
|
5 |
+
path_to_data = "./data/"
|
6 |
+
|
|
|
7 |
def process_markdown():
|
8 |
headers_to_split_on = [
|
9 |
("#", "Header 1"),
|