Commit History

fix: upgrade torch to 2.5.1+cpu for surya-ocr>=2.5.1 compatibility
a78a7ad

Goubaa commited on

Merge remote-tracking branch 'origin/main'
b13cfd4

Goubaa commited on

fix: upgrade opencv to >=4.11.0.86 for surya-ocr compatibility
4e75bba

Goubaa commited on

Update main.py
a0ac94d
verified

Goubaa commited on

Merge remote-tracking branch 'origin/main'
44b8303

Goubaa commited on

chore: force rebuild β€” Surya OCR engine (2026-03-21)
4c15074

Goubaa commited on

feat: Surya OCR engine + /predict_surya endpoint (Surya -> LayoutXLM NER)
becea13

Goubaa commited on

chore: force Docker rebuild β€” fix (2) filenames loading from HF Hub
8a871f4

Goubaa commited on

fix: download HF Hub model files with (2) names to local cache with standard names
ad07e34

Goubaa commited on

Update src/ocr/doctr_engine.py
d88d0b0
verified

Goubaa commited on

chore: bust Docker cache β€” force full rebuild with OCR merge pipeline
9528d9e

Goubaa commited on

chore: force Docker rebuild β€” OCR merge pipeline v2
f1fb178

Goubaa commited on

chore: trigger Space rebuild
6de8e0a

Goubaa commited on

feat: merge OCR words into line blocks before LayoutXLM
6ae19be

Goubaa Claude Sonnet 4.6 commited on

fix: update type annotation AutoModelForTokenClassification -> LayoutLMv2ForTokenClassification
9c37366

Goubaa commited on

fix: detectron2 build with --no-build-isolation (needs torch in scope)
20073c2

Goubaa commited on

fix: build detectron2 from source, use LayoutLMv2ForTokenClassification, transformers 4.44.0
79b8886

Goubaa commited on

fix: install detectron2 CPU wheel for LayoutXLM/LayoutLMv2
68f5c8d

Goubaa commited on

fix: remove LanguageDetector import from preprocessing __init__ (not needed in backend)
732bfad

Goubaa commited on

fix: use AutoModelForTokenClassification instead of LayoutXLMForTokenClassification (import issue)
0eeda1a

Goubaa commited on

fix: move --extra-index-url to top, remove pyvips (not needed in Docker)
fcc9da5

Goubaa commited on

fix: remove docTR preload from build (lazy load at startup instead)
18c1f28

Goubaa commited on

fix: libgl1 (Bookworm compat), libvips-dev only, fix docTR preload env
3f3ddc1

Goubaa commited on

fix: remove COPY model/ (model loaded from HF Hub), fix docTR cache path
2e975ee

Goubaa commited on

chore: add HF Spaces README config
09b66e2

Goubaa commited on

feat: backend FastAPI OCR+LayoutXLM β€” model loaded from HF Hub
63874d7

Goubaa commited on