Skip to content

Commit

Permalink
Added CoTracker for download stats (#925)
Browse files Browse the repository at this point in the history
Hey! 

Thanks for the amazing library :) 

We are hosting CoTracker model checkpoint
[here](https://huggingface.co/facebook/cotracker/tree/main) and would
like to see the download count. This PR follows [this
one](https://github.com/huggingface/huggingface.js/pull/561/files) to
enable it.

Hope it's correct way to do it, let me know if any changes are needed or
there is a better way to do so.

---------

Co-authored-by: Lucain <lucainp@gmail.com>
  • Loading branch information
lvoursl and Wauplin authored Oct 1, 2024
1 parent b7d2590 commit 4b8f174
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/tasks/src/model-libraries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
repoUrl: "https://github.com/cartesia-ai/cartesia_mlx",
snippets: snippets.cartesia_mlx,
},
cotracker: {
prettyLabel: "CoTracker",
repoName: "CoTracker",
repoUrl: "https://github.com/facebookresearch/co-tracker",
filter: false,
countDownloads: `path_extension:"pth"`,
},
edsnlp: {
prettyLabel: "EDS-NLP",
repoName: "edsnlp",
Expand Down

0 comments on commit 4b8f174

Please sign in to comment.