yeyingjin commited on
Commit
c00a24b
·
verified ·
1 Parent(s): f91b79f

Count downloads of the weight file

Browse files

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 和下载命令里对它的引用。权重和代码不变。

Files changed (2) hide show
  1. README.md +2 -2
  2. config.json +0 -5
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  pipeline_tag: image-to-video
3
- library_name: stateplay
4
  base_model:
5
  - Wan-AI/Wan2.2-TI2V-5B
6
  datasets:
@@ -42,7 +42,7 @@ Download the inference weights:
42
 
43
  ```bash
44
  hf download onepiece1999/StatePlay \
45
- StatePlay.safetensors config.json \
46
  --local-dir examples/checkpoint
47
 
48
  hf download Wan-AI/Wan2.2-TI2V-5B \
 
1
  ---
2
  pipeline_tag: image-to-video
3
+ library_name: diffusion-single-file
4
  base_model:
5
  - Wan-AI/Wan2.2-TI2V-5B
6
  datasets:
 
42
 
43
  ```bash
44
  hf download onepiece1999/StatePlay \
45
+ StatePlay.safetensors \
46
  --local-dir examples/checkpoint
47
 
48
  hf download Wan-AI/Wan2.2-TI2V-5B \
config.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "name": "StatePlay",
3
- "base_model": "Wan-AI/Wan2.2-TI2V-5B",
4
- "note": "Metadata only. Hugging Face counts model downloads through this file; please keep it."
5
- }