Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
1d5d7781
Commit
1d5d7781
authored
Mar 21, 2024
by
赵小蒙
Browse files
qa版本最终阶段保留pdf_intermediate_dict信息
parent
90ea9096
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/pipeline.py
magic_pdf/pipeline.py
+1
-1
No files found.
magic_pdf/pipeline.py
View file @
1d5d7781
...
@@ -520,7 +520,7 @@ def ocr_pdf_intermediate_dict_to_markdown_with_para_for_qa(
...
@@ -520,7 +520,7 @@ def ocr_pdf_intermediate_dict_to_markdown_with_para_for_qa(
)
)
# 把无用的信息清空
# 把无用的信息清空
jso
[
"doc_layout_result"
]
=
""
jso
[
"doc_layout_result"
]
=
""
jso
[
"pdf_intermediate_dict"
]
=
""
jso
[
"pdf_intermediate_dict"
]
=
pdf_intermediate_dict
jso
[
"pdf_meta"
]
=
""
jso
[
"pdf_meta"
]
=
""
except
Exception
as
e
:
except
Exception
as
e
:
jso
=
exception_handler
(
jso
,
e
)
jso
=
exception_handler
(
jso
,
e
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment