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
92d43c7b
Commit
92d43c7b
authored
Jul 13, 2025
by
myhloli
Browse files
fix:'title_aided_config' is not defined
parent
1caf6c2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mineru/backend/vlm/token_to_middle_json.py
mineru/backend/vlm/token_to_middle_json.py
+2
-1
No files found.
mineru/backend/vlm/token_to_middle_json.py
View file @
92d43c7b
...
...
@@ -12,7 +12,8 @@ from mineru.version import __version__
heading_level_import_success
=
False
llm_aided_config
=
get_llm_aided_config
()
if
llm_aided_config
and
llm_aided_config
.
get
(
'title_aided'
,
{}).
get
(
'enable'
,
False
):
title_aided_config
=
llm_aided_config
.
get
(
'title_aided'
,
{})
if
llm_aided_config
and
title_aided_config
.
get
(
'enable'
,
False
):
try
:
from
mineru.utils.llm_aided
import
llm_aided_title
from
mineru.backend.pipeline.model_init
import
AtomModelSingleton
...
...
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