Skip to content

Commit 11e07c0

Browse files
Adding Merlin for accurate download count (#1232)
I don't think we are getting an accurate download count for our hugging face repo: https://huggingface.co/stanfordmimi/Merlin, since the downloads page counts the queries to the config.json file and in our case the config.json file is empty. I was looking through the hugging face documentation and it seems like I had to add the file to the hugging face repo to allow it to have an accurate download count? Please let me know if I'm mistaken. --------- Co-authored-by: Lucain <[email protected]> Co-authored-by: Lucain <[email protected]>
1 parent 5f7f423 commit 11e07c0

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
@@ -478,6 +478,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
478478
countDownloads: `path:"MeshAnything_350m.pth"`,
479479
snippets: snippets.mesh_anything,
480480
},
481+
merlin: {
482+
prettyLabel: "Merlin",
483+
repoName: "Merlin",
484+
repoUrl: "https://github.com/StanfordMIMI/Merlin",
485+
filter: false,
486+
countDownloads: `path_extension:"pt"`,
487+
},
481488
mitie: {
482489
prettyLabel: "MITIE",
483490
repoName: "MITIE",

0 commit comments

Comments
 (0)