Skip to content

Added Error Handling to image_to_text API #385

Added Error Handling to image_to_text API

Added Error Handling to image_to_text API #385

Workflow file for this run

name: OCR Poetry Unit Tests
on:
pull_request:
paths:
- .github/workflows/ocr-tests.yml
- OCR/**
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: OCR
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
- name: Run tests
run: poetry run pytest tests/ocr_test.py tests/segmentation_template_test.py tests/alignment_test.py