Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update auditqa/doc_process.py
Browse files- 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 |
-
|
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 |
|