Spaces:
Running
Running
Commit History
-
sync: update pdf-script from github.com/peyajm29/pdf-script@488b4f6e90561a9c6cce3f0166f0690793886b59 Running
github-actions[bot]c85cca0 -
sync: update pdf-script from github.com/peyajm29/pdf-script@3538c5b239a9e0e76c810f18b40bae862f5b4ab2
github-actions[bot]a6407e9
-
Fix #27: generate one LI per list item, not per line
peyajm +1: Claude Sonnet 4.6Sync from peyajm29/pdf-script@1e7a6ce Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b858f16
-
fix: downscale large images before Tesseract OCR to prevent hangs
peyajm +1: Claude Sonnet 4.6Poster-sized PDFs at 200 DPI produce images up to ~4677x6610px which causes Tesseract to take several minutes per page on CPU-only hardware. Downscale to max 1800px on the longest side before OCR, then scale bboxes back up to original coordinates so downstream YOLO mapping is unaffected. Removes the timeout entirely since the root cause is fixed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>a00cf0b -
fix: replace executor on cancel to unblock new pipeline runs
peyajm +1: Claude Sonnet 4.6Cancelling the asyncio task left the blocking thread (Tesseract/YOLO) still running in the single-worker ThreadPoolExecutor, causing any subsequent pipeline run to queue behind it and appear stuck on stage 1. On cancel, swap in a fresh executor so the next run starts immediately. Also adds per-page OCR progress logging and a 120s Tesseract timeout to surface hangs instead of silently blocking forever. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>e083911
-
Sync latest backend and pipeline code
peyajm- Add auth system: Google OAuth, JWT, SQLite database - Add sessions route, dependencies, database module - Update config with GOOGLE_CLIENT_ID, JWT_SECRET, DB_PATH - Update requirements: google-auth, python-jose, httpx - Update all backend routes and services to latest - Dockerfile: remove maven build step (use pre-built JAR) - pdf-script: update labeling.py and latex_processor.py - Include pre-built pdftagger.jarfb7b1a4
-
add pdf-script as plain directory
peyajmc6c9042