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
8dca2105
Commit
8dca2105
authored
Oct 25, 2024
by
zhougaofeng
Browse files
Update UNIPipe.py
parent
2e897e02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
magic_pdf/pipe/UNIPipe.py
magic_pdf/pipe/UNIPipe.py
+2
-2
No files found.
magic_pdf/pipe/UNIPipe.py
View file @
8dca2105
...
...
@@ -52,11 +52,11 @@ class UNIPipe(AbsPipe):
logger
.
info
(
"uni_pipe mk content list finished"
)
return
result
def
pipe_mk_markdown
(
self
,
config_path
,
img_parent_path
:
str
,
drop_mode
=
DropMode
.
WHOLE_PDF
,
md_make_mode
=
MakeMode
.
MM_MD
):
def
pipe_mk_markdown
(
self
,
ocr_status
,
config_path
,
img_parent_path
:
str
,
drop_mode
=
DropMode
.
WHOLE_PDF
,
md_make_mode
=
MakeMode
.
MM_MD
):
# logger.info(f'img_parent_path:\n{img_parent_path}')
# logger.info(f'drop_mode:\n{drop_mode}')
# logger.info(f'md_make_mode:\n{md_make_mode}')
result
=
super
().
pipe_mk_markdown
(
config_path
,
img_parent_path
,
drop_mode
,
md_make_mode
)
result
=
super
().
pipe_mk_markdown
(
ocr_status
,
config_path
,
img_parent_path
,
drop_mode
,
md_make_mode
)
# logger.info(f"uni_pipe mk {md_make_mode} finished")
return
result
...
...
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