Commit History

fix: robust PaddleX 3.x OCRResult text extraction and multi-route alias
f35145a
Running

rickyho commited on

fix: support multipart form data and improve paddleX text extraction
cd84aed

rickyho commited on

paddlepaddle ocr v6
b940237

rickyho commited on

decorator
64bf3a5

rickyho commited on

Update app.py to PaddleX 3.x text-only format
36037f9

rickyho commited on

Trigger rebuild to pull latest main.py from GitHub
9f99426

rickyho commited on

Fix: convert PIL.Image to numpy array before passing to PaddleOCR
5033d1b

rickyho commited on

Fix: modify demo.app.routes via clear and extend instead of reassignment
e0b8e4f

rickyho commited on

Fix: add hasattr(path) check to routes to prevent AttributeError
65c5e74

rickyho commited on

Fix: elevate /ocr route priority to avoid 405 routing conflicts
1b542f3

rickyho commited on

Fix: revert custom FastAPI launch and register route on demo.app
d609b7b

rickyho commited on

Feat: mount gradio on custom_app to expose /ocr endpoint
1259fac

rickyho commited on

Feat: register /ocr JSON endpoint for FastAPI
63a90e8

rickyho commited on

Fix: resolve syntax error and restore gradio blocks
54b08c0

rickyho commited on

Update ocr endpoint to accept base64 json
2e6a0a0

rickyho commited on

Update ocr endpoint to accept base64 json
489a6ca

rickyho commited on

Fix: Revert demo override and use native Gradio API to expose /api/ocr
7c0e38c

rickyho commited on

Fix: Mount Gradio app to FastAPI to preserve /ocr post endpoint
ec4fe57

rickyho commited on

Update ocr endpoint to accept base64 json
9efded7

rickyho commited on

api change due to the webapp alignment
fa905c5

rickyho commited on

Update route endpoint to /api/ocr to pass proxy whitelist
2a666df

rickyho commited on

Directly register post route on demo.app to bypass mounting reset
13cd315

rickyho commited on

Change FastAPI mount path to /ocr_api to avoid Gradio conflict
72231e2

rickyho commited on

Fix port conflict by mounting FastAPI under /api and using demo.launch
f477201

rickyho commited on

Fix FastAPI mounting to resolve 405 error
c2048bd

rickyho commited on

fix: enforce CPU runtime with dummy GPU trigger to support ZeroGPU space
3ca257c

rickyho commited on

fix: bump paddlepaddle to 2.6.2 to resolve PyPI version mismatch
4006287

rickyho commited on

fix: revert to stable CPU dependency in app.py
a3afb45

rickyho commited on

fix: restrict numpy version to <2.0.0 to solve ABI incompatibility
e2c65c3

rickyho commited on

fix: lock paddlepaddle-gpu and paddleocr to stable versions
48f3387

rickyho commited on

fix: downgrade Python to 3.10 and install paddlepaddle-gpu
c6ab866

rickyho commited on

opt: set OMP_NUM_THREADS=1 at entrypoint
bb3ebe9

rickyho commited on

fix: disable PIR compiler API at entrypoint
62bbc5a

rickyho commited on

fix: disable oneDNN at entrypoint first line
9116ace

rickyho commited on

feat: enforce file size validation in Gradio via filepath
e8a5e15

rickyho commited on

fix: call demo.launch() to prevent process from exiting
a018a64

rickyho commited on

fix: integrate fastapi routes into gradio to avoid port collision
e4f4fb0

rickyho commited on

fix: add dummy gpu trigger for ZeroGPU startup check
bcce40a

rickyho commited on

fix: add dummy gpu trigger for ZeroGPU startup check
896ea75

rickyho commited on

python 3.12
1a02cb7

rickyho commited on

Initialize Hugging Face Space deployment shell
4b6cf87

rickyho commited on