Skip to content

Commit 78340fb

Browse files
authored
Fix SongGeneration download count rule (#1554)
Follow-up PR after #1542 cc @juhayna-zh @xianbaoqian @Vaibhavs10 There seems to be a typo in the download count rule. Checkpoint is saved at https://huggingface.co/tencent/SongGeneration/blob/main/ckpt/songgeneration_base/model.pt (under `songgeneration_base`, not `songgeneration_base_zh`). This PR fixes this. (I also took the opportunity to update `repoName`, it's usually best if it's the same as `prettyLabel`)
1 parent 71495e2 commit 78340fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tasks/src/model-libraries.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,10 +955,10 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
955955
},
956956
"tencent-song-generation": {
957957
prettyLabel: "SongGeneration",
958-
repoName: "songgeneration",
958+
repoName: "SongGeneration",
959959
repoUrl: "https://github.com/tencent-ailab/songgeneration",
960960
filter: false,
961-
countDownloads: `path:"ckpt/songgeneration_base_zh/model.pt"`,
961+
countDownloads: `path:"ckpt/songgeneration_base/model.pt"`,
962962
},
963963
tensorflowtts: {
964964
prettyLabel: "TensorFlowTTS",

0 commit comments

Comments
 (0)