π Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
Fix rapid layout model bug.
SWHLa1abf326d7f8
diff --git a/.github/workflows/gen_whl_to_pypi_layout.yml b/.github/workflows/gen_whl_to_pypi_layout.ymlindex 59c7d05..507b26f 100644--- a/.github/workflows/gen_whl_to_pypi_layout.yml+++ b/.github/workflows/gen_whl_to_pypi_layout.yml@@ -7,6 +7,7 @@ on:- 'python/rapid_structure/rapid_layout/**'- 'docs/doc_whl_layout.md'- 'python/rapid_structure/setup_layout.py'+ - '.github/workflows/gen_whl_to_pypi_layout.yml'jobs:UnitTesting:@@ -19,7 +20,7 @@ jobs:- name: Pull latest codeuses: actions/checkout@v3- - name: Download required_for_whl_v1.1.0+ - name: Download rapid layout modeluses: suisei-cn/actions-download-file@v1id: downloadfile3 # Remember to give an ID if you need the output filenamewith:@@ -68,6 +69,9 @@ jobs:run: |cd python/rapid_structurepython -m pip install --upgrade pip+ wget https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/rapid_layout_models.zip+ unzip rapid_layout_models.zip+ mv rapid_layout_models/*.onnx rapid_layout/models/python setup_layout.py bdist_wheel# - name: Publish distribution π¦ to Test PyPI