Set library_name to diffusers so downloads are counted

#2

The card sets library_name: sana. In the Hub's library registry, sana counts downloads only for files with the .pth extension (https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/src/model-libraries.ts). This repository contains model_index.json and safetensors weights but no .pth files, so no download is ever counted and the model page shows 0 downloads.

This repository is a diffusers-format checkpoint loaded through SanaPipeline. Setting library_name: diffusers applies the diffusers download rule (model_index.json and top-level weight files, see https://huggingface.co/docs/hub/models-download-stats) and shows the matching usage snippet.

Counting only starts from the time this is merged; past downloads are not recovered. The other *_diffusers repositories in this organization have the same setting.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment