Count downloads of the weight file

#2
by yeyingjin - opened
YeyingLab org

Downloads stayed at 0 because people (and the Spaces demo) fetch only StatePlay.safetensors, while the rule counts only a root config.json. This PR sets library_name: diffusion-single-file, whose rule counts .safetensors downloads (this repo has one), and removes the config.json added in #1 along with its mention in the download command. Weights and code are unchanged.

下载量一直是 0:大家(包括 demo)只下载 StatePlay.safetensors,而现在的规则只统计根目录的 config.json。这个 PR 把 library_name 改成 diffusion-single-file(按 .safetensors 的下载计数,仓库里正好一个),并删掉 #1 加的 config.json 和下载命令里对它的引用。权重和代码不变。

onepiece1999 changed pull request status to merged

Sign up or log in to comment