Spaces:
Running on Zero
Running on Zero
Add 'Editable form (fillable fields)' PDF export as default; edit fields in any PDF viewer
814f113 verified |
Download README.md from vivekreddyr/PaddleOCR-VL-Doc-Editor: direct link, hf CLI and curl.
- Browser
- Download file 1.53 kB
-
https://huggingface.co/spaces/vivekreddyr/PaddleOCR-VL-Doc-Editor/resolve/main/README.md
- Command line
-
hf download hf://spaces/vivekreddyr/PaddleOCR-VL-Doc-Editor/README.md
-
curl -L -o README.md https://huggingface.co/spaces/vivekreddyr/PaddleOCR-VL-Doc-Editor/resolve/main/README.md
1.53 kB
A newer version of the Gradio SDK is available: 6.33.0
metadata
title: PaddleOCR-VL Doc Editor
emoji: π
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.50.0
app_file: app.py
python_version: '3.12'
short_description: OCR a PDF, edit detected zones, export a corrected PDF
startup_duration_timeout: 1h
pinned: false
license: apache-2.0
PaddleOCR-VL Doc Editor
An interactive document-parsing workbench built on PaddlePaddle/PaddleOCR-VL.
Upload a PDF or image, and the app:
- Detects layout zones (text, titles, tables, formulas, charts, figures) with
PaddleOCR's
PP-DocLayoutmodel β running on CPU. - Recognizes the content of every zone with the compact 0.9B PaddleOCR-VL vision-language model β running on ZeroGPU, using the right prompt per zone type (OCR text, table β HTML, formula β LaTeX, chart).
- Lets you click any detected box and edit its recognized content.
- Exports a PDF β an editable-form PDF (a fillable field at each zone you edit directly in any PDF viewer), a searchable PDF (original pages with a selectable, corrected text layer), or a text-only PDF.
This mirrors PaddleOCR-VL's real two-stage architecture: a lightweight layout stage followed by VLM element recognition.
Notes
- The heavy VLM step runs on ZeroGPU (allocated per request). The layout stage runs on CPU so the two dependency stacks (PaddlePaddle + PyTorch) stay isolated.
- First launch downloads the models, so the initial boot takes a few minutes.