Spaces:
Running
Running
luanpoppe
commited on
Commit
·
096dfd3
1
Parent(s):
93c6cb3
fix full_text_string
Browse files
_utils/gerar_relatorio_modelo_usuario/utils.py
CHANGED
@@ -151,10 +151,8 @@ async def get_full_text_and_all_PDFs_chunks(
|
|
151 |
|
152 |
# Load and process document
|
153 |
for pdf_path in listaPDFs:
|
154 |
-
chunks, pages
|
155 |
-
|
156 |
-
pdf_path, should_use_llama_parse, isBubble
|
157 |
-
)
|
158 |
)
|
159 |
all_PDFs_chunks = all_PDFs_chunks + chunks
|
160 |
|
|
|
151 |
|
152 |
# Load and process document
|
153 |
for pdf_path in listaPDFs:
|
154 |
+
chunks, pages = await splitterObject.load_and_split_document(
|
155 |
+
pdf_path, should_use_llama_parse, isBubble
|
|
|
|
|
156 |
)
|
157 |
all_PDFs_chunks = all_PDFs_chunks + chunks
|
158 |
|