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
b4cdfedb
Commit
b4cdfedb
authored
Jun 30, 2025
by
myhloli
Browse files
fix: prevent URL assignment for non-client backends
parent
fc5f330c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
mineru/cli/gradio_app.py
mineru/cli/gradio_app.py
+1
-0
No files found.
mineru/cli/gradio_app.py
View file @
b4cdfedb
...
...
@@ -28,6 +28,7 @@ async def parse_pdf(doc_path, output_dir, end_page_id, is_ocr, formula_enable, t
if
backend
.
startswith
(
"vlm"
):
parse_method
=
"vlm"
if
not
backend
.
endswith
(
"client"
):
url
=
None
local_image_dir
,
local_md_dir
=
prepare_env
(
output_dir
,
file_name
,
parse_method
)
await
aio_do_parse
(
...
...
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