Spaces:
Paused
Paused
Commit History
-
Update app.py
Verified signature1. Pad small header/footer crops instead of skipping 2. Asyncio patch moved to the top53dfd3e -
Update app.py
Verified signature1. Asyncio cleanup error 2. Logging for header/footer 3. Optional DEBUG level966ed33 -
Update app.py
Verified signature1. MaaS 400 on header/footer crops 2. Single shared parser (fewer asyncio issues) 3. Asyncio BaseEventLoop.__del__ message0208bfc -
Update app.py
Verified signature1. Always run header and footer band OCR Header band: always OCR from top of page down to he (and if he <= 0, use he = DEFAULT_ZONE_FRAC). Footer band: always OCR from fs to bottom (and if fs >= 1.0, use fs = 1.0 - DEFAULT_ZONE_FRAC). So we always run both bands and no longer skip them when the API returns no or full-page regions. 2. Larger default bands DEFAULT_ZONE_FRAC increased from 0.08 to 0.12 (top 12% and bottom 12%) so header/footer are more likely to be covered. You can override with the GLMOCR_DEFAULT_ZONE_FRAC env var (e.g. 0.15 for 15%). 3. Config and formatter writes are best-effort The config and result_formatter.py patches are wrapped in try/except. If the filesystem is read-only (e.g. on HF), the app still starts; for MaaS, header/footer now come from the client-side band OCR anywaye7a0fbc -
Update app.py
Verified signatureChun updated to include header and footer in mapping list5a4a8c4
-
Update app.py
Verified signaturebcc62dd -
Update app.py
Verified signature5cc96b8 -
Update app.py
Verified signaturef096f6a -
Update app.py
Verified signaturea58a36b -
Update app.py
Verified signature133ecf3 -
Update app.py
Verified signature0141b9f -
Update app.py
Verified signature0532153 -
Update app.py
Verified signaturee4d155c -
Update app.py
Verified signaturef4b7a0e -
Upload app.py with huggingface_hub
Verified signature43fa232 -
Upload app.py with huggingface_hub
Verified signature6edb1f6
-
Update app.py
Verified signature97441ba -
Update app.py
Verified signature2e3c556 -
Update app.py
Verified signaturef7e376f -
Update app.py
Verified signaturea3c1f00 -
Update app.py
Verified signatureb0dd76e -
Update app.py
Verified signature5b740d1 -
Update app.py
Verified signaturee39f572 -
Update app.py
Verified signaturecf1832c
-
Upload app.py with huggingface_hub
Verified signature481e07c -
Upload app.py with huggingface_hub
Verified signaturee8b1a36 -
Upload app.py with huggingface_hub
Verified signature62ba456 -
Upload app.py with huggingface_hub
Verified signature70c9fdf