π Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
test CI
SWHL5dd359c884fc
diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_ort.ymlindex 61ec2ac..59476c3 100644--- a/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml+++ b/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml@@ -11,6 +11,8 @@ on:env:RESOURCES_URL: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/required_for_whl_v1.1.0.zip+ ZIP_NAME: ${RESOURCES_URL##*/} # required_for_whl_v1.1.0.zip+ DIR_NAME: ${ZIP_NAME%.*} # required_for_whl_v1.1.0jobs:UnitTesting:@@ -30,11 +32,10 @@ jobs:- name: Unit testingsrun: |- wget https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/required_for_whl_v1.1.0.zip- unzip required_for_whl_v1.1.0.zip- ls- cp required_for_whl_v1.1.0/resources/models/*.onnx python/rapidocr_onnxruntime/models/- cp required_for_whl_v1.1.0/resources/models/*.onnx python/rapidocr_openvino/models/+ wget ${RESOURCES_URL}+ unzip ${DIR_NAME}+ cp ${DIR_NAME}/resources/models/*.onnx python/rapidocr_onnxruntime/models/+ cp ${DIR_NAME}/resources/models/*.onnx python/rapidocr_openvino/models/cd pythonpip install -r requirements.txtcd tests@@ -58,6 +59,7 @@ jobs:- name: Download modelsrun: |+ ls rapidocr_onnxruntime/modelscd pythonwget $RESOURCES_URLunzip required_for_whl_v1.1.0.zip@@ -84,8 +86,8 @@ jobs:# repository_url: https://test.pypi.org/legacy/# packages_dir: dist/- - name: Publish distribution π¦ to PyPI- uses: pypa/[email protected]- with:- password: ${{ secrets.PYPI_API_TOKEN }}- packages_dir: dist/+ # - name: Publish distribution π¦ to PyPI+ # uses: pypa/[email protected]+ # with:+ # password: ${{ secrets.PYPI_API_TOKEN }}+ # packages_dir: dist/