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
7c1d7dff
"docker/install/vscode:/vscode.git/clone" did not exist on "fa3fbbfb8f51f23369af3ebc8f5c9ab0587a02b8"
Commit
7c1d7dff
authored
Jun 04, 2025
by
myhloli
Browse files
fix(batch): disable OCR detection batch processing by default
parent
763fbc60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/model/batch_analyze.py
magic_pdf/model/batch_analyze.py
+1
-1
No files found.
magic_pdf/model/batch_analyze.py
View file @
7c1d7dff
...
@@ -18,7 +18,7 @@ MFR_BASE_BATCH_SIZE = 16
...
@@ -18,7 +18,7 @@ MFR_BASE_BATCH_SIZE = 16
class
BatchAnalyze
:
class
BatchAnalyze
:
def
__init__
(
self
,
model_manager
,
batch_ratio
:
int
,
show_log
,
layout_model
,
formula_enable
,
table_enable
,
enable_ocr_det_batch
=
Tru
e
):
def
__init__
(
self
,
model_manager
,
batch_ratio
:
int
,
show_log
,
layout_model
,
formula_enable
,
table_enable
,
enable_ocr_det_batch
=
Fals
e
):
self
.
model_manager
=
model_manager
self
.
model_manager
=
model_manager
self
.
batch_ratio
=
batch_ratio
self
.
batch_ratio
=
batch_ratio
self
.
show_log
=
show_log
self
.
show_log
=
show_log
...
...
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