From 05fba2ad923c87b523db3ab2ffd44d005cddd11a Mon Sep 17 00:00:00 2001 From: Aritra Roy Gosthipaty Date: Tue, 11 Nov 2025 16:28:40 +0530 Subject: [PATCH 1/3] Add LightGlue entry --- packages/tasks/src/model-libraries.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/packages/tasks/src/model-libraries.ts b/packages/tasks/src/model-libraries.ts index 3ce5e5be2b..96730948ec 100644 --- a/packages/tasks/src/model-libraries.ts +++ b/packages/tasks/src/model-libraries.ts @@ -191,7 +191,7 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { prettyLabel: "Champ", repoName: "Champ", repoUrl: "https://github.com/fudan-generative-vision/champ", - countDownloads: `path:"champ/motion_module.pth"`, + countDownloads: `path:"champ/motion_module."`, }, chatterbox: { prettyLabel: "Chatterbox", @@ -255,9 +255,9 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { docsUrl: "https://deepforest.readthedocs.io/en/latest/", repoUrl: "https://github.com/weecology/DeepForest", }, - "depth-anything-v2": { - prettyLabel: "DepthAnythingV2", - repoName: "Depth Anything V2", + "de-anything-v2": { + prettyLabel: "DeAnythingV2", + repoName: "De Anything V2", repoUrl: "https://github.com/DepthAnything/Depth-Anything-V2", snippets: snippets.depth_anything_v2, filter: false, @@ -623,6 +623,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { filter: false, snippets: snippets.lerobot, }, + lightglue: { + prettyLabel: "LightGlue", + repoName: "LightGlue", + repoUrl: "https://github.com/cvg/LightGlue", + filter: false, + countDownloads: `path_extension:"pth"`, + }, liveportrait: { prettyLabel: "LivePortrait", repoName: "LivePortrait", From 108bd6f3ca1f348ab267cf9cf4da488398f36326 Mon Sep 17 00:00:00 2001 From: Aritra Roy Gosthipaty Date: Tue, 11 Nov 2025 18:43:44 +0530 Subject: [PATCH 2/3] fix typos --- packages/tasks/src/model-libraries.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/tasks/src/model-libraries.ts b/packages/tasks/src/model-libraries.ts index 96730948ec..3a251a1a8e 100644 --- a/packages/tasks/src/model-libraries.ts +++ b/packages/tasks/src/model-libraries.ts @@ -191,7 +191,7 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { prettyLabel: "Champ", repoName: "Champ", repoUrl: "https://github.com/fudan-generative-vision/champ", - countDownloads: `path:"champ/motion_module."`, + countDownloads: `path:"champ/motion_module.pth"`, }, chatterbox: { prettyLabel: "Chatterbox", @@ -255,9 +255,9 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { docsUrl: "https://deepforest.readthedocs.io/en/latest/", repoUrl: "https://github.com/weecology/DeepForest", }, - "de-anything-v2": { - prettyLabel: "DeAnythingV2", - repoName: "De Anything V2", + "depth-anything-v2": { + prettyLabel: "DepthAnythingV2", + repoName: "Depth Anything V2", repoUrl: "https://github.com/DepthAnything/Depth-Anything-V2", snippets: snippets.depth_anything_v2, filter: false, From 1025b69f44e871d37a58cb95ad825e19b2cc29f4 Mon Sep 17 00:00:00 2001 From: Aritra Roy Gosthipaty Date: Thu, 13 Nov 2025 15:34:19 +0530 Subject: [PATCH 3/3] adding `.pth` and `config.json` as the counter logic for lightglue --- packages/tasks/src/model-libraries.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tasks/src/model-libraries.ts b/packages/tasks/src/model-libraries.ts index 3a251a1a8e..960fb1b415 100644 --- a/packages/tasks/src/model-libraries.ts +++ b/packages/tasks/src/model-libraries.ts @@ -628,7 +628,7 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { repoName: "LightGlue", repoUrl: "https://github.com/cvg/LightGlue", filter: false, - countDownloads: `path_extension:"pth"`, + countDownloads: `path_extension:"pth" OR path:"config.json"`, }, liveportrait: { prettyLabel: "LivePortrait",