mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-03-27 02:58:54 +07:00
Update mineru/backend/vlm/vlm_middle_json_mkcontent.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user