ppsingh commited on
Commit
eb583c3
1 Parent(s): fad2247

Update auditqa/doc_process.py

Browse files
Files changed (1) hide show
  1. auditqa/doc_process.py +2 -3
auditqa/doc_process.py CHANGED
@@ -51,8 +51,7 @@ def process_pdf():
51
  )
52
  docs_processed = [text_splitter.split_documents(doc) for doc in docs]
53
  docs_processed = [item for sublist in docs_processed for item in sublist]
54
-
55
- print(len(docs_processed))
56
- print(docs_processed[0])
57
 
58
 
 
51
  )
52
  docs_processed = [text_splitter.split_documents(doc) for doc in docs]
53
  docs_processed = [item for sublist in docs_processed for item in sublist]
54
+ print("length of text chunks:",len(docs_processed))
55
+ return docs_processed
 
56
 
57