Skip to content

Commit 5cc292b

Browse files
NielsRoggeWauplin
andauthored
Add Open-Sora as library (#1288)
We added `library_name: open-sora` here: https://huggingface.co/hpcai-tech/Open-Sora-v2, hence this PR ensures download stats work for them. cc @zhengzangw let me know whether I also need to add a custom code snippet, which will show up for users as a "Use this model" button at the top right, see https://huggingface.co/jameslahm/yolov10x as an example. --------- Co-authored-by: Lucain <[email protected]>
1 parent 69ad498 commit 5cc292b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/tasks/src/model-libraries.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
590590
OR path:"open_clip_pytorch_model.bin"
591591
OR path:"pytorch_model.bin"`,
592592
},
593+
"open-sora": {
594+
prettyLabel: "Open-Sora",
595+
repoName: "Open-Sora",
596+
repoUrl: "https://github.com/hpcaitech/Open-Sora",
597+
filter: false,
598+
countDownloads: `path:"Open_Sora_v2.safetensors"`,
599+
},
593600
paddlenlp: {
594601
prettyLabel: "paddlenlp",
595602
repoName: "PaddleNLP",

0 commit comments

Comments
 (0)