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
63971f9c
Commit
63971f9c
authored
Oct 25, 2024
by
zhougaofeng
Browse files
Update pdf_extract_kit.py
parent
d4ef4349
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/model/pdf_extract_kit.py
magic_pdf/model/pdf_extract_kit.py
+1
-1
No files found.
magic_pdf/model/pdf_extract_kit.py
View file @
63971f9c
...
@@ -368,7 +368,7 @@ class CustomPEKModel:
...
@@ -368,7 +368,7 @@ class CustomPEKModel:
'text'
:
text
,
'text'
:
text
,
})
})
ocr_cost
=
round
(
time
.
time
()
-
ocr_start
,
2
)
ocr_cost
=
time
.
time
()
-
ocr_start
# logger.info(f"ocr cost: {ocr_cost}")
# logger.info(f"ocr cost: {ocr_cost}")
total_cost
=
round
(
total_cost
+
ocr_cost
,
2
)
total_cost
=
round
(
total_cost
+
ocr_cost
,
2
)
index
=
index
+
1
index
=
index
+
1
...
...
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