@huggingface/tasks 0.13.11 → 0.13.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/default-widget-inputs.d.ts.map +1 -1
- package/dist/commonjs/default-widget-inputs.js +6 -12
- package/dist/commonjs/model-libraries.d.ts +7 -1
- package/dist/commonjs/model-libraries.d.ts.map +1 -1
- package/dist/commonjs/model-libraries.js +6 -0
- package/dist/esm/default-widget-inputs.d.ts.map +1 -1
- package/dist/esm/default-widget-inputs.js +6 -12
- package/dist/esm/model-libraries.d.ts +7 -1
- package/dist/esm/model-libraries.d.ts.map +1 -1
- package/dist/esm/model-libraries.js +6 -0
- package/package.json +1 -1
- package/src/default-widget-inputs.ts +6 -12
- package/src/model-libraries.ts +6 -0
- package/src/tasks/chat-completion/spec/input.json +1 -0
- package/src/tasks/text-generation/spec/input.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-widget-inputs.d.ts","sourceRoot":"","sources":["../../src/default-widget-inputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAIjD,KAAK,kBAAkB,GAAG,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"default-widget-inputs.d.ts","sourceRoot":"","sources":["../../src/default-widget-inputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAIjD,KAAK,kBAAkB,GAAG,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC,CAAC;AAmrBtE,eAAO,MAAM,sBAAsB,iCAejC,CAAC"}
|
|
@@ -63,7 +63,7 @@ const MAPPING_EN = new Map([
|
|
|
63
63
|
"zero-shot-classification",
|
|
64
64
|
[
|
|
65
65
|
{
|
|
66
|
-
text: "I have a problem with my iphone that needs to be resolved asap
|
|
66
|
+
text: "I have a problem with my iphone that needs to be resolved asap!",
|
|
67
67
|
candidate_labels: "urgent, not urgent, phone, tablet, computer",
|
|
68
68
|
multi_class: true,
|
|
69
69
|
},
|
|
@@ -89,24 +89,18 @@ const MAPPING_EN = new Map([
|
|
|
89
89
|
[
|
|
90
90
|
"conversational",
|
|
91
91
|
[
|
|
92
|
-
`
|
|
93
|
-
`Hey
|
|
94
|
-
`
|
|
92
|
+
`Hi, what can you help me with?`,
|
|
93
|
+
`Hey, let's have a conversation!`,
|
|
94
|
+
`Hello there!`,
|
|
95
95
|
`Hey my name is Clara! How are you?`,
|
|
96
|
-
`Hey my name is Julien! How are you?`,
|
|
97
|
-
`Hi.`,
|
|
98
96
|
],
|
|
99
97
|
],
|
|
100
98
|
[
|
|
101
99
|
"text-generation",
|
|
102
100
|
[
|
|
103
101
|
`My name is Julien and I like to`,
|
|
104
|
-
`
|
|
105
|
-
`
|
|
106
|
-
`My name is Clara and I am`,
|
|
107
|
-
`My name is Lewis and I like to`,
|
|
108
|
-
`My name is Merve and my favorite`,
|
|
109
|
-
`My name is Teven and I am`,
|
|
102
|
+
`I like traveling by train because`,
|
|
103
|
+
`Paris is an amazing place to visit,`,
|
|
110
104
|
`Once upon a time,`,
|
|
111
105
|
],
|
|
112
106
|
],
|
|
@@ -789,6 +789,12 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
789
789
|
snippets: (model: ModelData) => string[];
|
|
790
790
|
filter: true;
|
|
791
791
|
};
|
|
792
|
+
trellis: {
|
|
793
|
+
prettyLabel: string;
|
|
794
|
+
repoName: string;
|
|
795
|
+
repoUrl: string;
|
|
796
|
+
countDownloads: string;
|
|
797
|
+
};
|
|
792
798
|
"unity-sentis": {
|
|
793
799
|
prettyLabel: string;
|
|
794
800
|
repoName: string;
|
|
@@ -844,5 +850,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
844
850
|
};
|
|
845
851
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
846
852
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
847
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "anemoi" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "imstoucan" | "keras" | "tf-keras" | "keras-nlp" | "keras-hub" | "k2" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "paddlenlp" | "peft" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "f5-tts" | "genmo" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "yolov10" | "whisperkit" | "3dtopia-xl")[];
|
|
853
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "anemoi" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "imstoucan" | "keras" | "tf-keras" | "keras-nlp" | "keras-hub" | "k2" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "paddlenlp" | "peft" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "f5-tts" | "genmo" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "trellis" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "yolov10" | "whisperkit" | "3dtopia-xl")[];
|
|
848
854
|
//# sourceMappingURL=model-libraries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CA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|
781
|
+
prettyLabel: "Trellis",
|
|
782
|
+
repoName: "Trellis",
|
|
783
|
+
repoUrl: "https://github.com/microsoft/TRELLIS",
|
|
784
|
+
countDownloads: `path_extension:"safetensors"`,
|
|
785
|
+
},
|
|
780
786
|
"unity-sentis": {
|
|
781
787
|
prettyLabel: "unity-sentis",
|
|
782
788
|
repoName: "unity-sentis",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-widget-inputs.d.ts","sourceRoot":"","sources":["../../src/default-widget-inputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAIjD,KAAK,kBAAkB,GAAG,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"default-widget-inputs.d.ts","sourceRoot":"","sources":["../../src/default-widget-inputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAIjD,KAAK,kBAAkB,GAAG,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC,CAAC;AAmrBtE,eAAO,MAAM,sBAAsB,iCAejC,CAAC"}
|
|
@@ -60,7 +60,7 @@ const MAPPING_EN = new Map([
|
|
|
60
60
|
"zero-shot-classification",
|
|
61
61
|
[
|
|
62
62
|
{
|
|
63
|
-
text: "I have a problem with my iphone that needs to be resolved asap
|
|
63
|
+
text: "I have a problem with my iphone that needs to be resolved asap!",
|
|
64
64
|
candidate_labels: "urgent, not urgent, phone, tablet, computer",
|
|
65
65
|
multi_class: true,
|
|
66
66
|
},
|
|
@@ -86,24 +86,18 @@ const MAPPING_EN = new Map([
|
|
|
86
86
|
[
|
|
87
87
|
"conversational",
|
|
88
88
|
[
|
|
89
|
-
`
|
|
90
|
-
`Hey
|
|
91
|
-
`
|
|
89
|
+
`Hi, what can you help me with?`,
|
|
90
|
+
`Hey, let's have a conversation!`,
|
|
91
|
+
`Hello there!`,
|
|
92
92
|
`Hey my name is Clara! How are you?`,
|
|
93
|
-
`Hey my name is Julien! How are you?`,
|
|
94
|
-
`Hi.`,
|
|
95
93
|
],
|
|
96
94
|
],
|
|
97
95
|
[
|
|
98
96
|
"text-generation",
|
|
99
97
|
[
|
|
100
98
|
`My name is Julien and I like to`,
|
|
101
|
-
`
|
|
102
|
-
`
|
|
103
|
-
`My name is Clara and I am`,
|
|
104
|
-
`My name is Lewis and I like to`,
|
|
105
|
-
`My name is Merve and my favorite`,
|
|
106
|
-
`My name is Teven and I am`,
|
|
99
|
+
`I like traveling by train because`,
|
|
100
|
+
`Paris is an amazing place to visit,`,
|
|
107
101
|
`Once upon a time,`,
|
|
108
102
|
],
|
|
109
103
|
],
|
|
@@ -789,6 +789,12 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
789
789
|
snippets: (model: ModelData) => string[];
|
|
790
790
|
filter: true;
|
|
791
791
|
};
|
|
792
|
+
trellis: {
|
|
793
|
+
prettyLabel: string;
|
|
794
|
+
repoName: string;
|
|
795
|
+
repoUrl: string;
|
|
796
|
+
countDownloads: string;
|
|
797
|
+
};
|
|
792
798
|
"unity-sentis": {
|
|
793
799
|
prettyLabel: string;
|
|
794
800
|
repoName: string;
|
|
@@ -844,5 +850,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
844
850
|
};
|
|
845
851
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
846
852
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
847
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "anemoi" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "imstoucan" | "keras" | "tf-keras" | "keras-nlp" | "keras-hub" | "k2" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "paddlenlp" | "peft" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "f5-tts" | "genmo" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "yolov10" | "whisperkit" | "3dtopia-xl")[];
|
|
853
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "anemoi" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "imstoucan" | "keras" | "tf-keras" | "keras-nlp" | "keras-hub" | "k2" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "paddlenlp" | "peft" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "f5-tts" | "genmo" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "trellis" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "yolov10" | "whisperkit" | "3dtopia-xl")[];
|
|
848
854
|
//# sourceMappingURL=model-libraries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4xBI,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,EAA+C,eAAe,EAAE,CAAC;AAEpG,eAAO,MAAM,8BAA8B,28CAQ1B,CAAC"}
|
|
@@ -751,6 +751,12 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
751
751
|
snippets: snippets.transformersJS,
|
|
752
752
|
filter: true,
|
|
753
753
|
},
|
|
754
|
+
"trellis": {
|
|
755
|
+
prettyLabel: "Trellis",
|
|
756
|
+
repoName: "Trellis",
|
|
757
|
+
repoUrl: "https://github.com/microsoft/TRELLIS",
|
|
758
|
+
countDownloads: `path_extension:"safetensors"`,
|
|
759
|
+
},
|
|
754
760
|
"unity-sentis": {
|
|
755
761
|
prettyLabel: "unity-sentis",
|
|
756
762
|
repoName: "unity-sentis",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huggingface/tasks",
|
|
3
3
|
"packageManager": "pnpm@8.10.5",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.12",
|
|
5
5
|
"description": "List of ML tasks for huggingface.co/tasks",
|
|
6
6
|
"repository": "https://github.com/huggingface/huggingface.js.git",
|
|
7
7
|
"publishConfig": {
|
|
@@ -69,7 +69,7 @@ const MAPPING_EN: PerLanguageMapping = new Map([
|
|
|
69
69
|
"zero-shot-classification",
|
|
70
70
|
[
|
|
71
71
|
{
|
|
72
|
-
text: "I have a problem with my iphone that needs to be resolved asap
|
|
72
|
+
text: "I have a problem with my iphone that needs to be resolved asap!",
|
|
73
73
|
candidate_labels: "urgent, not urgent, phone, tablet, computer",
|
|
74
74
|
multi_class: true,
|
|
75
75
|
},
|
|
@@ -95,24 +95,18 @@ const MAPPING_EN: PerLanguageMapping = new Map([
|
|
|
95
95
|
[
|
|
96
96
|
"conversational",
|
|
97
97
|
[
|
|
98
|
-
`
|
|
99
|
-
`Hey
|
|
100
|
-
`
|
|
98
|
+
`Hi, what can you help me with?`,
|
|
99
|
+
`Hey, let's have a conversation!`,
|
|
100
|
+
`Hello there!`,
|
|
101
101
|
`Hey my name is Clara! How are you?`,
|
|
102
|
-
`Hey my name is Julien! How are you?`,
|
|
103
|
-
`Hi.`,
|
|
104
102
|
],
|
|
105
103
|
],
|
|
106
104
|
[
|
|
107
105
|
"text-generation",
|
|
108
106
|
[
|
|
109
107
|
`My name is Julien and I like to`,
|
|
110
|
-
`
|
|
111
|
-
`
|
|
112
|
-
`My name is Clara and I am`,
|
|
113
|
-
`My name is Lewis and I like to`,
|
|
114
|
-
`My name is Merve and my favorite`,
|
|
115
|
-
`My name is Teven and I am`,
|
|
108
|
+
`I like traveling by train because`,
|
|
109
|
+
`Paris is an amazing place to visit,`,
|
|
116
110
|
`Once upon a time,`,
|
|
117
111
|
],
|
|
118
112
|
],
|
package/src/model-libraries.ts
CHANGED
|
@@ -795,6 +795,12 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
795
795
|
snippets: snippets.transformersJS,
|
|
796
796
|
filter: true,
|
|
797
797
|
},
|
|
798
|
+
"trellis": {
|
|
799
|
+
prettyLabel: "Trellis",
|
|
800
|
+
repoName: "Trellis",
|
|
801
|
+
repoUrl: "https://github.com/microsoft/TRELLIS",
|
|
802
|
+
countDownloads: `path_extension:"safetensors"`,
|
|
803
|
+
},
|
|
798
804
|
"unity-sentis": {
|
|
799
805
|
prettyLabel: "unity-sentis",
|
|
800
806
|
repoName: "unity-sentis",
|