Spaces:
Running
Running
Update pipeline.py
Browse files- pipeline.py +1 -0
pipeline.py
CHANGED
@@ -352,6 +352,7 @@ def pipeline_with_gemini(accessions):
|
|
352 |
if chunk_exists:
|
353 |
print("File chunk exists!")
|
354 |
if not chunk:
|
|
|
355 |
text, table, document_title = model.read_docx_text(file_chunk_path)
|
356 |
chunk = data_preprocess.normalize_for_overlap(text) + "\n" + data_preprocess.normalize_for_overlap(". ".join(table))
|
357 |
if all_exists:
|
|
|
352 |
if chunk_exists:
|
353 |
print("File chunk exists!")
|
354 |
if not chunk:
|
355 |
+
print("start to get chunk")
|
356 |
text, table, document_title = model.read_docx_text(file_chunk_path)
|
357 |
chunk = data_preprocess.normalize_for_overlap(text) + "\n" + data_preprocess.normalize_for_overlap(". ".join(table))
|
358 |
if all_exists:
|