Commit f7120c82 authored by quyuan's avatar quyuan

add gpu ci

parent 8a80947a
# Created by pytest automatically.
*
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by pytest.
# For information about cache directory tags, see:
# https://bford.info/cachedir/spec.html
# pytest cache directory #
This directory contains data from the pytest's cache plugin,
which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
**Do not** commit this to version control.
See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.
{
"tests/test_cli/test_cli.py": true,
"tests/test_cli/test_bench.py::TestBench": true,
"tests/test_cli/test_bench.py::test_cli": true,
"tests/test_cli/test_bench.py": true
}
\ No newline at end of file
This diff is collapsed.
[]
\ No newline at end of file
...@@ -6,7 +6,7 @@ import json ...@@ -6,7 +6,7 @@ import json
from magic_pdf.pipe.UNIPipe import UNIPipe from magic_pdf.pipe.UNIPipe import UNIPipe
from magic_pdf.rw.DiskReaderWriter import DiskReaderWriter from magic_pdf.rw.DiskReaderWriter import DiskReaderWriter
from lib import calculate_score from lib import calculate_score
import shutil
pdf_res_path = conf.conf["pdf_res_path"] pdf_res_path = conf.conf["pdf_res_path"]
code_path = conf.conf["code_path"] code_path = conf.conf["code_path"]
pdf_dev_path = conf.conf["pdf_dev_path"] pdf_dev_path = conf.conf["pdf_dev_path"]
...@@ -58,8 +58,8 @@ def pdf_to_markdown(): ...@@ -58,8 +58,8 @@ def pdf_to_markdown():
if not os.path.exists(dir_path): if not os.path.exists(dir_path):
os.makedirs(dir_path, exist_ok=True) os.makedirs(dir_path, exist_ok=True)
res_path = os.path.join(dir_path, f"{demo_name}.md") res_path = os.path.join(dir_path, f"{demo_name}.md")
#src_path = os.path.join(pdf_res_path, "pdf", f"{demo_name}.pdf") src_path = os.path.join(pdf_res_path, demo_name, "auto", f"{demo_name}.md")
#shutil.copy(src_path, res_path) shutil.copy(src_path, res_path)
......
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