update longcat-video-avatar-1.5 to model libraries#2199
Conversation
| "longcat-video-avatar-1.5": { | ||
| prettyLabel: "LongCat-Video-Avatar-1.5", | ||
| repoName: "LongCat-Video-Avatar-1.5", |
There was a problem hiding this comment.
| "longcat-video-avatar-1.5": { | |
| prettyLabel: "LongCat-Video-Avatar-1.5", | |
| repoName: "LongCat-Video-Avatar-1.5", | |
| "longcat-video": { | |
| prettyLabel: "LongCat-Video", | |
| repoName: "LongCat-Video", |
Only a suggestion but I feel that since the library is named LongCat Video (according to https://github.com/meituan-longcat/LongCat-Video), then the tag should be this instead of the exact repo name itself. This is only a suggestion, if you prefer longcat-video-avatar or even longcat-video-avatar-1.5 then go for it (though I find them too long/specific). The important part is that you had
library_name: longcat-videoin the model card metadata of the model.
Since it's a diffusers model, you can also do
library_name: diffusers
tags:
- longcat-videoor
# preferred version if you want longcat video download count rule
library_name: longcat-video
tags:
- diffusersIn both cases, both libraries will be detected but the library_name one will be considered as the "main library" which we will use to count download.
| repoName: "LongCat-Video-Avatar-1.5", | ||
| repoUrl: "https://github.com/meituan-longcat/LongCat-Video", | ||
| filter: false, | ||
| countDownloads: `path_extension:"safetensors" OR path:"config.json"`, |
There was a problem hiding this comment.
Counting both safetensors and config files will lead to double-counting download if someone downloads the full repo. The best in this situation is to only count by config.json, which is the default rule. So my advice here is to remove this line and fallback to the default rule
| countDownloads: `path_extension:"safetensors" OR path:"config.json"`, |
update longcat-video-avatar-1.5 to model libraries
Note
Low Risk
Single registry entry with no runtime or security-sensitive logic changes.
Overview
Registers LongCat-Video-Avatar-1.5 as a Hub modeling library in
MODEL_LIBRARIES_UI_ELEMENTS, keyed bylongcat-video-avatar-1.5(matchinglibrary_nameon models).The entry points to the LongCat-Video repo, keeps the library off the main models filter (
filter: false), and defines download counting via.safetensorsfiles orconfig.json.Reviewed by Cursor Bugbot for commit ac18cb1. Bugbot is set up for automated code reviews on this repo. Configure here.