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
2a76a89b
Unverified
Commit
2a76a89b
authored
Jun 25, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Jun 25, 2025
Browse files
Merge pull request #2787 from zhanluxianshen/demo-args-notes
clean demo function notes.
parents
9e6256c5
9ba95ba1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
demo/demo.py
demo/demo.py
+4
-2
signatures/version1/cla.json
signatures/version1/cla.json
+8
-0
No files found.
demo/demo.py
View file @
2a76a89b
...
@@ -169,8 +169,8 @@ def parse_doc(
...
@@ -169,8 +169,8 @@ def parse_doc(
backend
=
"pipeline"
,
backend
=
"pipeline"
,
method
=
"auto"
,
method
=
"auto"
,
server_url
=
None
,
server_url
=
None
,
start_page_id
=
0
,
# Start page ID for parsing, default is 0
start_page_id
=
0
,
end_page_id
=
None
# End page ID for parsing, default is None (parse all pages until the end of the document)
end_page_id
=
None
):
):
"""
"""
Parameter description:
Parameter description:
...
@@ -192,6 +192,8 @@ def parse_doc(
...
@@ -192,6 +192,8 @@ def parse_doc(
Without method specified, 'auto' will be used by default.
Without method specified, 'auto' will be used by default.
Adapted only for the case where the backend is set to "pipeline".
Adapted only for the case where the backend is set to "pipeline".
server_url: When the backend is `sglang-client`, you need to specify the server_url, for example:`http://127.0.0.1:30000`
server_url: When the backend is `sglang-client`, you need to specify the server_url, for example:`http://127.0.0.1:30000`
start_page_id: Start page ID for parsing, default is 0
end_page_id: End page ID for parsing, default is None (parse all pages until the end of the document)
"""
"""
try
:
try
:
file_name_list
=
[]
file_name_list
=
[]
...
...
signatures/version1/cla.json
View file @
2a76a89b
...
@@ -351,6 +351,14 @@
...
@@ -351,6 +351,14 @@
"created_at"
:
"2025-06-20T17:04:59Z"
,
"created_at"
:
"2025-06-20T17:04:59Z"
,
"repoId"
:
765083837
,
"repoId"
:
765083837
,
"pullRequestNo"
:
2758
"pullRequestNo"
:
2758
},
{
"name"
:
"herryqg"
,
"id"
:
107988674
,
"comment_id"
:
2995155194
,
"created_at"
:
"2025-06-23T06:49:59Z"
,
"repoId"
:
765083837
,
"pullRequestNo"
:
2763
}
}
]
]
}
}
\ No newline at end of file
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