Update mineru/backend/vlm/vlm_middle_json_mkcontent.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Xiaomeng Zhao
2025-12-12 17:11:18 +08:00
committed by GitHub
parent c80330c3f0
commit 5465f97a93

View File

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