From 378d5c6e9e8fa685653eb3490efc7893e9083715 Mon Sep 17 00:00:00 2001 From: Sayo Date: Fri, 16 May 2025 09:34:50 +0800 Subject: [PATCH 1/3] track download stats for the ACE-Step repo. --- packages/tasks/src/model-libraries.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/tasks/src/model-libraries.ts b/packages/tasks/src/model-libraries.ts index 37bb74627..828d7a7dd 100644 --- a/packages/tasks/src/model-libraries.ts +++ b/packages/tasks/src/model-libraries.ts @@ -1040,6 +1040,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { countDownloads: `path:"model_vae_fp16.pt"`, snippets: snippets.threedtopia_xl, }, + acestep: { + prettyLabel: "ACE-Step", + repoName: "ACE-Step", + repoUrl: "https://github.com/ace-step/ACE-Step", + filter: false, + countDownloads: `path:"ace_step_transformer/diffusion_pytorch_model.safetensors"`, + }, + } satisfies Record; export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS; From 7f6f6bd821ab97335d3179871b44e7b34e684c78 Mon Sep 17 00:00:00 2001 From: Lucain Date: Wed, 28 May 2025 15:19:38 +0200 Subject: [PATCH 2/3] Update packages/tasks/src/model-libraries.ts --- 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 828d7a7dd..5092c607a 100644 --- a/packages/tasks/src/model-libraries.ts +++ b/packages/tasks/src/model-libraries.ts @@ -1045,7 +1045,7 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { repoName: "ACE-Step", repoUrl: "https://github.com/ace-step/ACE-Step", filter: false, - countDownloads: `path:"ace_step_transformer/diffusion_pytorch_model.safetensors"`, + countDownloads: `path:"ace_step_transformer/config.json"`, }, } satisfies Record; From 2483b010b979a05e4c82d0031281871e498d760c Mon Sep 17 00:00:00 2001 From: Lucain Date: Wed, 28 May 2025 15:20:59 +0200 Subject: [PATCH 3/3] Ensure alphabetical order --- packages/tasks/src/model-libraries.ts | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/tasks/src/model-libraries.ts b/packages/tasks/src/model-libraries.ts index 5092c607a..813847401 100644 --- a/packages/tasks/src/model-libraries.ts +++ b/packages/tasks/src/model-libraries.ts @@ -58,6 +58,13 @@ export interface LibraryUiElement { */ export const MODEL_LIBRARIES_UI_ELEMENTS = { + acestep: { + prettyLabel: "ACE-Step", + repoName: "ACE-Step", + repoUrl: "https://github.com/ace-step/ACE-Step", + filter: false, + countDownloads: `path:"ace_step_transformer/config.json"`, + }, "adapter-transformers": { prettyLabel: "Adapters", repoName: "adapters", @@ -1040,14 +1047,6 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { countDownloads: `path:"model_vae_fp16.pt"`, snippets: snippets.threedtopia_xl, }, - acestep: { - prettyLabel: "ACE-Step", - repoName: "ACE-Step", - repoUrl: "https://github.com/ace-step/ACE-Step", - filter: false, - countDownloads: `path:"ace_step_transformer/config.json"`, - }, - } satisfies Record; export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;