yeyingjin commited on
Commit
fe783db
·
verified ·
1 Parent(s): 744e650

Count downloads of the weight files

Browse files

Updated: the checkpoints are loaded one by one from `SF2/` and `SF3/`, which never requests a root `config.json`, so the first version of this PR would still count 0. The PR now sets `library_name: diffusion-single-file`, whose rule counts `.safetensors` downloads, and removes `config.json`. Each checkpoint file counts once.

已更新:模型是从 SF2/、SF3/ 里逐个加载的,不会请求根目录的 config.json,原来的改法合并后还是 0。现在改成 library_name: diffusion-single-file(按 .safetensors 的下载计数),并删掉 config.json。每个权重文件各算一次。

Files changed (2) hide show
  1. README.md +1 -1
  2. config.json +0 -4
README.md CHANGED
@@ -3,7 +3,7 @@ license: cc-by-nc-4.0
3
  language:
4
  - en
5
  pretty_name: ReactiveGWM-Models (SF2 / SF3)
6
- library_name: reactivegwm
7
  pipeline_tag: text-to-video
8
  tags:
9
  - video
 
3
  language:
4
  - en
5
  pretty_name: ReactiveGWM-Models (SF2 / SF3)
6
+ library_name: diffusion-single-file
7
  pipeline_tag: text-to-video
8
  tags:
9
  - video
config.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "name": "ReactiveGWM",
3
- "note": "Metadata only. Hugging Face counts model downloads through this file; please keep it."
4
- }