Declare PaddleOCR library for ONNX download tracking
#1
by ChengCui - opened
The model card currently has no library_name, so the Hub does not associate this repository with the PaddleOCR download-counting rule.
Add library_name: PaddleOCR to the YAML metadata. Hugging Face's PaddleOCR rule explicitly counts the root inference.onnx file that is already present in this repository.
Only model card metadata changes; the license and model files are preserved.
References:
- https://huggingface.co/docs/hub/model-cards#specifying-a-library
- https://huggingface.co/docs/hub/models-download-stats
- https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/model-libraries.ts
This PR is left open for maintainer review.