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
63b3cfeb
Commit
63b3cfeb
authored
Jul 17, 2024
by
myhloli
Browse files
docs(cli_help): update Chinese PDF path description
parent
95e7e3a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
magic_pdf/cli/magicpdf.py
magic_pdf/cli/magicpdf.py
+2
-1
No files found.
magic_pdf/cli/magicpdf.py
View file @
63b3cfeb
...
...
@@ -85,6 +85,7 @@ def do_parse(
f_dump_content_list
=
True
,
f_make_md_mode
=
MakeMode
.
MM_MD
,
):
orig_model_list
=
copy
.
deepcopy
(
model_list
)
local_image_dir
,
local_md_dir
=
prepare_env
(
pdf_file_name
,
parse_method
)
...
...
@@ -280,7 +281,7 @@ def local_json_command(local_json, method, inside_model, model_mode):
@
cli
.
command
()
@
click
.
option
(
"--pdf"
,
type
=
click
.
Path
(
exists
=
True
),
required
=
True
,
help
=
'pdf
file path, support local/list, list file need end with ".list"
'
)
help
=
'pdf
文件路径, 支持单个文件或文件列表, 文件列表需要以".list"结尾, 一行一个pdf文件路径
'
)
@
click
.
option
(
"--model"
,
type
=
click
.
Path
(
exists
=
True
),
help
=
"模型的路径"
)
@
click
.
option
(
"--method"
,
...
...
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