VyLala commited on
Commit
b62658e
·
verified ·
1 Parent(s): bdbda26

Update pipeline.py

Browse files
Files changed (1) hide show
  1. 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: