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
78f56a1e
Commit
78f56a1e
authored
Dec 17, 2024
by
icecraft
Browse files
fix: AbsPipe initial method
parent
3f64c16b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/pipe/AbsPipe.py
magic_pdf/pipe/AbsPipe.py
+1
-1
No files found.
magic_pdf/pipe/AbsPipe.py
View file @
78f56a1e
...
...
@@ -17,7 +17,7 @@ class AbsPipe(ABC):
def
__init__
(
self
,
dataset
:
Dataset
,
model_list
:
list
,
image_writer
:
DataWriter
,
is_debug
:
bool
=
False
,
start_page_id
=
0
,
end_page_id
=
None
,
lang
=
None
,
layout_model
=
None
,
formula_enable
=
None
,
table_enable
=
None
):
self
.
dataset
=
D
ataset
self
.
dataset
=
d
ataset
self
.
model_list
=
model_list
self
.
image_writer
=
image_writer
self
.
pdf_mid_data
=
None
# 未压缩
...
...
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