Gemini Pro Vision 作为 表格 OCR 解决方案的简单测试 #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
issues: | |
types: [opened, edited, deleted, labeled, unlabeled] | |
permissions: | |
contents: write | |
pull-requests: write | |
issues: read | |
jobs: | |
generate: | |
name: Generate blog | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ github.token }} | |
steps: | |
- name: Check out repo's default branch | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: "3.10" | |
- name: Run generate.py | |
run: | | |
python3 generate.py | |
- name: Create Pull Request | |
uses: peter-evans/[email protected] | |
with: | |
# Delete the `branch` when closing pull requests, and when undeleted after merging. Recommend `true`. | |
delete-branch: true |