"...git@developer.sourcefind.cn:modelzoo/qwen_lmdeploy.git" did not exist on "208b6841d3942b1cf1f120c1caa803a760411897"
Commit 34461d48 authored by quyuan's avatar quyuan
Browse files

add ci

parent 080fe473
......@@ -33,7 +33,10 @@ 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, "mineru", f"{demo_name}.md")
dir_path = os.path.join(pdf_dev_path, "mineru")
if not os.path.exists(dir_path):
os.makedirs(dir_path, exist_ok=True)
res_path = os.path.join(dir_path, f"{demo_name}.md")
with open(res_path, "w+", encoding="utf-8") as f:
f.write(md_content)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment