Spaces:
Sleeping

VOCR / api.py

Commit History

  1. Report platform and library versions in /health⁠

    81181db
  2. Ship local working tree: det multiscale, UVDoc unwarp, Qwen route⁠

    02017bc

  1. api: expose a fingerprint of the running source in /health⁠

    sirimiri +1: Claude Opus 5 (1M context)
    18dfe8f

  1. prep: invert before thickening, not after⁠

    sirimiri +1: Claude Opus 5 (1M context)
    bdfbf7c

  1. fix: three defects found by running the Space locally⁠

    4288546

  1. rec: turn beam search on for v11, K=10 at alpha 0.30⁠

    09690c8

  1. det: fix the orientation scorer so rotated pages actually get flipped⁠

    96d1eae

  1. prep: thicken strokes (erode 2x2) by default for ppv6_3⁠

    dd132e1
  2. prod: switch default rec to ppv6_3 (v11), keep ppv6_1 as secondary⁠

    e5afe02

  1. Fix crop/deskew/orientation handling for rotated and tight-spaced pages⁠

    c80563e

  1. ui: say when an image falls outside what the model was trained on⁠

    6dbad3b

  1. prod: one model, batch upload with PDF page ranges, and a written record⁠

    34a3ee6
  2. ppv6: turn BARTpho on by default, on every line⁠

    af04214
  3. ctx: turning BARTpho on by hand now runs it on every line⁠

    1cbfc5e
  4. ui: correct the stale numbers and drop the sales tone⁠

    8ea9118
  5. fix: ppv6 never loaded the corrector, so the UI toggle did nothing⁠

    9c1dc4e
  6. ui: add a BARTpho on/off select, and run it last for ppv6⁠

    5f2c9a9

  1. ppv6: run the rule chain after the space-fixer, and turn it back on⁠

    495518d

  1. ppv6: greedy + space-fixer only; disable crop_prep/beam/textfix⁠

    1c3cd32

  1. Disable BARTpho for ppv6 (v11-tuned corrector hurts v6)⁠

    35cb2f2
  2. Enable shared BARTpho corrector for ppv6 (singleton, no extra RAM)⁠

    7d37531
  3. Add Vietnamese space-fixer for glued OCR output (ppv6)⁠

    8c7ff01
  4. Make ppv6_1 the default model in UI dropdown⁠

    185bacc
  5. Show post-processing in UI for ppv6/v11.2 via generic /{ver}/compare⁠

    8e7f9ce
  6. Enable beam+ViLM+textfix for ppv6_1/ppv6_2⁠

    98ec53c
  7. Show ppv6_1/ppv6_2 in UI dropdown + generic /{ver}/ocr route⁠

    cdcbf97

  1. Add PP-OCRv6 rec support + ppv6_1/ppv6_2 versions⁠

    883184c

  1. Surface the context-layer load error instead of swallowing it⁠

    sirimiri +1: Claude Opus 5 (1M context)
    bfde283
  2. Report context-layer state in /health⁠

    sirimiri +1: Claude Opus 5 (1M context)
    fa3fa4c
  3. Wire context-correction model into the Space download path⁠

    sirimiri +1: Claude Opus 5 (1M context)
    bfc81fb
  4. Cap fix_vocab candidates at 8 instead of 1⁠

    367d758
  5. Add fix_echo to drop CTC echo fragments⁠

    e06d85a
  6. Lowercase stray capitals mid-word, tidy bracket spacing⁠

    b4bf698

  1. Fix double softmax in the beam decoder, add fix_merge⁠

    d9dd2ba

  1. Wire the prep param into all 14 file endpoints⁠

    Lâm Quỳnh Hương
    0bf7eb1
  2. Add background whitening preprocess modes⁠

    Lâm Quỳnh Hương
    61715d2

  1. Replace the static docs at / with a working demo page⁠

    c79e668
  2. Add /v11.2: same model as v11 but page preprocess on⁠

    1e90c32
  3. Turn page preprocess off, add optional ensemble⁠

    d6860bf

  1. Add root landing page

    e27a7a5
  2. New fine-tuned det+rec, ViLM postprocess v2, no_enhance default, LLM post-edit module

    62966ff

  1. Delete fix_register_beam.py, patch_beam_search.py, usage_examples.py; remove module docstrings, section banners, and inline explanatory comments from all source files

    7a14a48

  1. Fix model download path

    62128f2
  2. Fix HF model repo ID and add token support

    949ddef
  3. Add Dockerfile and HF Spaces config

    1f88371
  4. Add FastAPI OCR endpoint

    980e673