ppsingh commited on
Commit
3b6db6d
1 Parent(s): 0103587

Update auditqa/doc_process.py

Browse files
Files changed (1) hide show
  1. auditqa/doc_process.py +1 -1
auditqa/doc_process.py CHANGED
@@ -70,7 +70,7 @@ def process_pdf():
70
  # convert list of list to flat list
71
  for key, docs_processed in all_documents.items():
72
  docs_processed = [item for sublist in docs_processed for item in sublist]
73
- print("length of chunks in source:",category, "are:",len(docs_processed))
74
  all_documents[key] = docs_processed
75
  all_documents['allreports'] = [sublist for key,sublist in all_documents.items()]
76
  all_documents['allreports'] = [item for sublist in all_documents['allreports'] for item in sublist]
 
70
  # convert list of list to flat list
71
  for key, docs_processed in all_documents.items():
72
  docs_processed = [item for sublist in docs_processed for item in sublist]
73
+ print("length of chunks in source:",key, "are:",len(docs_processed))
74
  all_documents[key] = docs_processed
75
  all_documents['allreports'] = [sublist for key,sublist in all_documents.items()]
76
  all_documents['allreports'] = [item for sublist in all_documents['allreports'] for item in sublist]