KetanJogadankar commited on
Commit
d12a136
·
verified ·
1 Parent(s): 73db2e1
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ Here is the output schema:
106
  data_loader = JSONLoader(file_path="document.json",
107
  jq_schema='.',text_content=False)
108
  data = data_loader.load()
109
- data = [doc.page_content for doc in data]
110
 
111
  splitter = CharacterTextSplitter(chunk_size=2, chunk_overlap=1)
112
  documents = splitter.split_documents(data)
 
106
  data_loader = JSONLoader(file_path="document.json",
107
  jq_schema='.',text_content=False)
108
  data = data_loader.load()
109
+ # data = [doc.page_content for doc in data]
110
 
111
  splitter = CharacterTextSplitter(chunk_size=2, chunk_overlap=1)
112
  documents = splitter.split_documents(data)