Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
fix error
赵小蒙c7a685b302ce
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.ymlindex 37fe153d..32203a8e 100644--- a/.github/workflows/python-package.yml+++ b/.github/workflows/python-package.yml@@ -53,7 +53,37 @@ jobs:env:GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}run: |- git push origin HEAD:master+ git remote set-url origin https://myhloli:${{ secrets.RELEASE_TOKEN }}@github.com/magicpdf/Magic-PDF.git+ git push origin update-version-branch+ id: push_changes++ - name: Create Pull Request+ if: steps.push_changes.outcome == 'success'+ id: create_pull_request+ uses: peter-evans/create-pull-request@v5+ with:+ token: ${{ secrets.RELEASE_TOKEN }}+ commit-message: Update version.py with new version+ branch: update-version-branch+ title: 'Update version.py'+ body: 'This PR updates the version.py file with the latest version.'+ base: master+ labels: 'automated PR'++ - name: Merge Pull Request+ if: steps.create_pull_request.outputs.pull-request-number+ uses: actions/github-script@v6+ with:+ github-token: ${{ secrets.RELEASE_TOKEN }}+ script: |+ const pullRequestNumber = parseInt('${{ steps.create_pull_request.outputs.pull-request-number }}');+ await github.pulls.merge({+ owner: context.repo.owner,+ repo: context.repo.repo,+ pull_number: pullRequestNumber,+ merge_method: 'merge'+ });+build:runs-on: ubuntu-latestdiff --git a/magic_pdf/libs/version.py b/magic_pdf/libs/version.pyindex 81f0fdec..b1a19e32 100644--- a/magic_pdf/libs/version.py+++ b/magic_pdf/libs/version.py@@ -1 +1 @@-__version__ = "0.0.4"+__version__ = "0.0.5"