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
zhougaofeng
magic_pdf
Commits
485659df
Commit
485659df
authored
Dec 31, 2024
by
zhougaofeng
Browse files
Update common.py
parent
4dc092b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
magic_pdf/tools/common.py
magic_pdf/tools/common.py
+1
-2
No files found.
magic_pdf/tools/common.py
View file @
485659df
...
...
@@ -45,7 +45,6 @@ def remove_empty_lines_from_file(file_path):
def
do_parse
(
ocr_status
,
config_path
,
output_dir
,
pdf_file_name
,
...
...
@@ -111,7 +110,7 @@ def do_parse(
logger
.
error
(
'need model list input'
)
exit
(
2
)
pipe
.
pipe_parse
(
ocr_status
,
config_path
,
local_image_dir
)
pipe
.
pipe_parse
(
config_path
,
local_image_dir
)
pdf_info
=
pipe
.
pdf_mid_data
[
'pdf_info'
]
if
f_draw_layout_bbox
:
draw_layout_bbox
(
pdf_info
,
pdf_bytes
,
local_md_dir
,
pdf_file_name
)
...
...
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