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
193a9ce5
Commit
193a9ce5
authored
Jul 13, 2024
by
quyuan
Browse files
add ci
parent
67f3fcce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
tests/test_cli/result.json
tests/test_cli/result.json
+0
-1
tests/test_cli/test_cli.py
tests/test_cli/test_cli.py
+1
-1
No files found.
tests/test_cli/result.json
deleted
100644 → 0
View file @
67f3fcce
{
"average_sim_score"
:
0
,
"average_edit_distance"
:
0
,
"average_bleu_score"
:
0
}
\ No newline at end of file
tests/test_cli/test_cli.py
View file @
193a9ce5
...
...
@@ -33,7 +33,7 @@ class TestCli:
pipe
.
pipe_classify
()
pipe
.
pipe_parse
()
md_content
=
pipe
.
pipe_mk_markdown
(
image_dir
,
drop_mode
=
"none"
)
res_path
=
os
.
path
.
join
(
pdf_dev_path
,
"miner"
,
f
"
{
demo_name
}
.md"
)
res_path
=
os
.
path
.
join
(
pdf_dev_path
,
"miner
u
"
,
f
"
{
demo_name
}
.md"
)
with
open
(
res_path
,
"w"
,
encoding
=
"utf-8"
)
as
f
:
f
.
write
(
md_content
)
...
...
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