Skip to content

Commit 645b1cd

Browse files
committed
fixbug
fix filtered type
1 parent 16338cf commit 645b1cd

File tree

1 file changed

+3
-3
lines changed
  • src/bisheng_unstructured/documents/pdf_parser

1 file changed

+3
-3
lines changed

src/bisheng_unstructured/documents/pdf_parser/pdf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -926,9 +926,9 @@ def _allocate_semantic(
926926
if label == TABLE_ID:
927927
filtered_blocks.append(b)
928928

929-
elif label == LAYOUT_ID:
930-
b.block_text = join_lines(b.ts, False, lang)
931-
filtered_blocks.append(b)
929+
# elif label == LAYOUT_ID:
930+
# b.block_text = join_lines(b.ts, False, lang)
931+
# filtered_blocks.append(b)
932932

933933
elif label == IMAGE_ID:
934934
if self.keep_text_in_image:

0 commit comments

Comments
 (0)