Skip to content

Commit a3fd39f

Browse files
add 3dtopia-xl as model libraries
1 parent bbe2ae8 commit a3fd39f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

packages/tasks/src/model-libraries-snippets.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,4 +1007,11 @@ whisperkit-cli transcribe --audio-path /path/to/audio.mp3
10071007
# Or use your preferred model variant
10081008
whisperkit-cli transcribe --model "large-v3" --model-prefix "distil" --audio-path /path/to/audio.mp3 --verbose`,
10091009
];
1010+
1011+
export const threedtopia_xl = (): string[] => [
1012+
`# Install from https://github.com/3DTopia/3DTopia-XL
1013+
1014+
# refer to https://github.com/3DTopia/3DTopia-XL?tab=readme-ov-file#inference for inference
1015+
# and https://github.com/3DTopia/3DTopia-XL/blob/main/app.py regarding usage`,
1016+
];
10101017
//#endregion

packages/tasks/src/model-libraries.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
686686
snippets: snippets.whisperkit,
687687
countDownloads: `path_filename:"model" AND path_extension:"mil" AND _exists_:"path_prefix"`,
688688
},
689+
"3dtopia-xl": {
690+
prettyLabel: "3DTopia-XL",
691+
repoName: "3DTopia-XL",
692+
repoUrl: "https://github.com/3DTopia/3DTopia-XL",
693+
filter: false,
694+
countDownloads: `path_extension:"pt"`,
695+
snippets: snippets.threedtopia_xl,
696+
},
689697
} satisfies Record<string, LibraryUiElement>;
690698

691699
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;

0 commit comments

Comments
 (0)