himipo/ocr-workbench-zerogpu-ppocrv6
0
PP-OCRv6 Medium Worker
This worker deliberately combines two models:
PP-OCRv6_medium_detfor text detectionPP-OCRv6_medium_recfor text recognition
The user-specified PP-OCRv6_medium_det_safetensors repository is detection-only, so it cannot produce the requested text result by itself.
The default Dockerfile is CPU-oriented because the complete PP-OCRv6 medium pipeline is lightweight. For GPU deployment, replace Dockerfile with Dockerfile.gpu before uploading the Space.
Variables
TEXT_DETECTION_MODEL=PP-OCRv6_medium_detTEXT_RECOGNITION_MODEL=PP-OCRv6_medium_recPPOCR_ENGINE=transformersPADDLEOCR_DEVICE=cpu(orgpu:0with the GPU Dockerfile)WORKER_API_TOKENas an optional shared secret.
