Commit f4036a35 authored by myhloli's avatar myhloli

Merge remote-tracking branch 'origin/master'

parents 140e5a60 5235b6db
......@@ -30,14 +30,12 @@ jobs:
fetch-depth: 2
- name: check-requirements
run: |
changed_files=$(git diff --name-only -r HEAD~1 HEAD)
echo $changed_files
if [[ $changed_files =~ "requirements.txt" ]] || [[ $changed_files =~ "requirements-qa.txt" ]]; then
pip install -r requirements.txt
pip install -r requirements-qa.txt
fi
pip install -r requirements.txt
pip install -r requirements-qa.txt
- name: get-benchmark-result
run: |
echo "start test"
cd tools && python benchmark.py
echo $GITHUB_WORKSPACE
tree
cd $GITHUB_WORKSPACE && python tests/benchmark/benchmark.py
......@@ -110,7 +110,7 @@ After downloading the model weights, move the 'models' directory to a directory
#### 3. Copy the Configuration File and Make Configurations
You can get the magic-pdf.template.json file in the repository root directory.
```bash
cp magic-pdf.template.json ~/magic-pdf.json
```
......
......@@ -102,7 +102,7 @@ pip install detectron2 --extra-index-url https://myhloli.github.io/wheels/
下载后请将models目录拷贝到空间较大的ssd磁盘目录
#### 3. 拷贝配置文件并进行配置
在仓库根目录可以获得magic-pdf.template.json文件
```bash
cp magic-pdf.template.json ~/magic-pdf.json
```
......
......@@ -18,7 +18,6 @@ class TestCli:
common.check_shell(cmd)
#common.count_folders_and_check_contents(pdf_res_path)
# def test_pdf_specify_jsonl(self):
# """
# 输入jsonl, 默认方式解析
......
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