Merge branch 'opendatalab:dev' into dev

This commit is contained in:
Xiaomeng Zhao
2025-12-12 17:47:30 +08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -261,7 +261,7 @@ def make_blocks_to_content_list_v2(para_block, img_buket_path, page_size):
para_content = {
'type': content_type,
'content': {
f"{content_type}_content":merge_para_with_text_v2(para_block),
f"{content_type}_content": merge_para_with_text_v2(para_block),
}
}
elif para_type == BlockType.TITLE:
@@ -306,7 +306,7 @@ def make_blocks_to_content_list_v2(para_block, img_buket_path, page_size):
image_footnote = []
image_path, _ = get_body_data(para_block)
image_source = {
'path':f"{img_buket_path}/{image_path}",
'path': f"{img_buket_path}/{image_path}",
}
for block in para_block['blocks']:
if block['type'] == BlockType.IMAGE_CAPTION:

View File

@@ -1 +1 @@
__version__ = "2.6.6"
__version__ = "2.6.7"