Skip to content

Commit d7e4408

Browse files
authored
Merge pull request #81 from opendatalab/dev
Dev
2 parents dc74e02 + aceab8f commit d7e4408

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mineru_vl_utils/post_process/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ def post_process(
119119
) -> list[ContentBlock]:
120120
blocks = simple_process(blocks, enable_table_formula_eq_wrap=enable_table_formula_eq_wrap)
121121

122+
for block in blocks:
123+
if block.type == "list_item":
124+
block.type = "text"
125+
122126
if simple_post_process:
123127
return _finalize_simple_blocks(blocks)
124128

0 commit comments

Comments
 (0)