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
zhougaofeng
magic_pdf
Commits
e3c4beaf
Commit
e3c4beaf
authored
Oct 23, 2024
by
zhougaofeng
Browse files
Update ocr_mkcontent.py
parent
88e16305
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/dict2md/ocr_mkcontent.py
magic_pdf/dict2md/ocr_mkcontent.py
+1
-1
No files found.
magic_pdf/dict2md/ocr_mkcontent.py
View file @
e3c4beaf
...
...
@@ -128,7 +128,7 @@ def ocr_mk_markdown_with_para_core_v2(config_path,paras_of_layout,
config
=
configparser
.
ConfigParser
()
config
.
read
(
config_path
)
url
=
config
.
get
(
'server'
,
'ocr_server'
)
logger
.
info
(
f
'ocr_server:
{
url
}
'
)
#
logger.info(f'ocr_server:{url}')
client
=
PredictClient
(
url
)
for
para_block
in
paras_of_layout
:
para_text
=
''
...
...
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