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
5ac1abd3
Commit
5ac1abd3
authored
Jul 13, 2024
by
quyuan
Browse files
add ci
parent
9b928293
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_cli/test_bench.py
tests/test_cli/test_bench.py
+1
-1
No files found.
tests/test_cli/test_bench.py
View file @
5ac1abd3
...
@@ -20,7 +20,7 @@ class TestBench():
...
@@ -20,7 +20,7 @@ class TestBench():
"""
"""
ci benchmark
ci benchmark
"""
"""
fr
=
open
(
os
.
path
.
join
(
pdf_dev_path
,
"ci"
,
"result.json"
),
"r"
,
encoding
=
"utf-8"
)
fr
=
open
(
os
.
path
.
join
(
pdf_dev_path
,
"result.json"
),
"r"
,
encoding
=
"utf-8"
)
lines
=
fr
.
readlines
()
lines
=
fr
.
readlines
()
last_line
=
lines
[
-
1
].
strip
()
last_line
=
lines
[
-
1
].
strip
()
last_score
=
json
.
loads
(
last_line
)
last_score
=
json
.
loads
(
last_line
)
...
...
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