• Stefy Lanza (nextime / spora )'s avatar
    ocr: the surya deep check imported a module that does not exist · e72edf08
    Stefy Lanza (nextime / spora ) authored
    My own check broke the build: `from surya.common.surya.schema import
    TaskNames` is not a path in surya-ocr 0.22.1, so the ocr image failed with
    ModuleNotFoundError at the venv deep check — I wrote an import from memory
    instead of reading what the worker uses.
    
    It now imports what codai/ocr/workers/ocr_worker.py actually constructs,
    DetectionPredictor and RecognitionPredictor, and keeps the pillow assertion.
    The test asserts those paths are present and that the invented one is gone.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    e72edf08
Name
Last commit
Last update
..
profiles Loading commit data...
Dockerfile.capability Loading commit data...
Dockerfile.capability-base Loading commit data...
Dockerfile.capability-base-light Loading commit data...
Dockerfile.capability-engines Loading commit data...
Dockerfile.capability-llama Loading commit data...
Dockerfile.capability-slim Loading commit data...
Dockerfile.capability-video-longcat Loading commit data...
boot.sh Loading commit data...
build_all_capability_images.sh Loading commit data...
build_capability_image.sh Loading commit data...
check_llama_wheel.py Loading commit data...
publish_capability_images.sh Loading commit data...