Commit 5b9f0960 authored by 赵小蒙's avatar 赵小蒙
Browse files

修复image_path的连接符

parent f5b9cff4
...@@ -133,7 +133,7 @@ def __split_para_in_layoutbox(lines_group, layout_bboxes, lang="en", char_avg_le ...@@ -133,7 +133,7 @@ def __split_para_in_layoutbox(lines_group, layout_bboxes, lang="en", char_avg_le
def get_span_text(span): def get_span_text(span):
c = span.get('content', '') c = span.get('content', '')
if len(c)==0: if len(c)==0:
c = span.get('image-path', '') c = span.get('image_path', '')
return c return c
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment