@huggingface/tasks 0.19.66 → 0.19.68
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/dataset-libraries.d.ts +6 -0
- package/dist/commonjs/dataset-libraries.d.ts.map +1 -1
- package/dist/commonjs/dataset-libraries.js +6 -0
- package/dist/commonjs/hardware.d.ts +4 -0
- package/dist/commonjs/hardware.d.ts.map +1 -1
- package/dist/commonjs/hardware.js +5 -1
- package/dist/commonjs/local-apps.d.ts +0 -7
- package/dist/commonjs/local-apps.d.ts.map +1 -1
- package/dist/commonjs/local-apps.js +0 -7
- package/dist/commonjs/model-libraries-snippets.d.ts +1 -0
- package/dist/commonjs/model-libraries-snippets.d.ts.map +1 -1
- package/dist/commonjs/model-libraries-snippets.js +16 -3
- package/dist/commonjs/model-libraries.d.ts +64 -29
- package/dist/commonjs/model-libraries.d.ts.map +1 -1
- package/dist/commonjs/model-libraries.js +68 -33
- package/dist/commonjs/pipelines.d.ts +9 -1
- package/dist/commonjs/pipelines.d.ts.map +1 -1
- package/dist/commonjs/pipelines.js +8 -0
- package/dist/commonjs/snippets/inputs.d.ts.map +1 -1
- package/dist/commonjs/snippets/inputs.js +10 -0
- package/dist/commonjs/tasks/image-text-to-image/data.d.ts +4 -0
- package/dist/commonjs/tasks/image-text-to-image/data.d.ts.map +1 -0
- package/dist/commonjs/tasks/image-text-to-image/data.js +50 -0
- package/dist/commonjs/tasks/image-text-to-image/inference.d.ts +76 -0
- package/dist/commonjs/tasks/image-text-to-image/inference.d.ts.map +1 -0
- package/dist/commonjs/tasks/image-text-to-image/inference.js +2 -0
- package/dist/commonjs/tasks/image-text-to-video/data.d.ts +4 -0
- package/dist/commonjs/tasks/image-text-to-video/data.d.ts.map +1 -0
- package/dist/commonjs/tasks/image-text-to-video/data.js +50 -0
- package/dist/commonjs/tasks/image-text-to-video/inference.d.ts +78 -0
- package/dist/commonjs/tasks/image-text-to-video/inference.d.ts.map +1 -0
- package/dist/commonjs/tasks/image-text-to-video/inference.js +2 -0
- package/dist/commonjs/tasks/index.d.ts +2 -0
- package/dist/commonjs/tasks/index.d.ts.map +1 -1
- package/dist/commonjs/tasks/index.js +72 -66
- package/dist/esm/dataset-libraries.d.ts +6 -0
- package/dist/esm/dataset-libraries.d.ts.map +1 -1
- package/dist/esm/dataset-libraries.js +6 -0
- package/dist/esm/hardware.d.ts +4 -0
- package/dist/esm/hardware.d.ts.map +1 -1
- package/dist/esm/hardware.js +5 -1
- package/dist/esm/local-apps.d.ts +0 -7
- package/dist/esm/local-apps.d.ts.map +1 -1
- package/dist/esm/local-apps.js +0 -7
- package/dist/esm/model-libraries-snippets.d.ts +1 -0
- package/dist/esm/model-libraries-snippets.d.ts.map +1 -1
- package/dist/esm/model-libraries-snippets.js +12 -0
- package/dist/esm/model-libraries.d.ts +64 -29
- package/dist/esm/model-libraries.d.ts.map +1 -1
- package/dist/esm/model-libraries.js +68 -33
- package/dist/esm/pipelines.d.ts +9 -1
- package/dist/esm/pipelines.d.ts.map +1 -1
- package/dist/esm/pipelines.js +8 -0
- package/dist/esm/snippets/inputs.d.ts.map +1 -1
- package/dist/esm/snippets/inputs.js +10 -0
- package/dist/esm/tasks/image-text-to-image/data.d.ts +4 -0
- package/dist/esm/tasks/image-text-to-image/data.d.ts.map +1 -0
- package/dist/esm/tasks/image-text-to-image/data.js +48 -0
- package/dist/esm/tasks/image-text-to-image/inference.d.ts +76 -0
- package/dist/esm/tasks/image-text-to-image/inference.d.ts.map +1 -0
- package/dist/esm/tasks/image-text-to-image/inference.js +1 -0
- package/dist/esm/tasks/image-text-to-video/data.d.ts +4 -0
- package/dist/esm/tasks/image-text-to-video/data.d.ts.map +1 -0
- package/dist/esm/tasks/image-text-to-video/data.js +48 -0
- package/dist/esm/tasks/image-text-to-video/inference.d.ts +78 -0
- package/dist/esm/tasks/image-text-to-video/inference.d.ts.map +1 -0
- package/dist/esm/tasks/image-text-to-video/inference.js +1 -0
- package/dist/esm/tasks/index.d.ts +2 -0
- package/dist/esm/tasks/index.d.ts.map +1 -1
- package/dist/esm/tasks/index.js +6 -0
- package/package.json +1 -1
- package/src/dataset-libraries.ts +6 -0
- package/src/hardware.ts +5 -1
- package/src/local-apps.ts +0 -7
- package/src/model-libraries-snippets.ts +13 -0
- package/src/model-libraries.ts +68 -33
- package/src/pipelines.ts +8 -0
- package/src/snippets/inputs.ts +12 -0
- package/src/tasks/image-text-to-image/about.md +73 -0
- package/src/tasks/image-text-to-image/data.ts +54 -0
- package/src/tasks/image-text-to-image/inference.ts +75 -0
- package/src/tasks/image-text-to-image/spec/input.json +59 -0
- package/src/tasks/image-text-to-image/spec/output.json +13 -0
- package/src/tasks/image-text-to-video/about.md +71 -0
- package/src/tasks/image-text-to-video/data.ts +54 -0
- package/src/tasks/image-text-to-video/inference.ts +77 -0
- package/src/tasks/image-text-to-video/spec/input.json +63 -0
- package/src/tasks/image-text-to-video/spec/output.json +13 -0
- package/src/tasks/index.ts +16 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries-snippets.d.ts","sourceRoot":"","sources":["../../src/model-libraries-snippets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAkBjD,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAKjD,CAAC;AAkBF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAKjD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,SAAS,KAAG,MAAM,EAIhD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAIjD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,KAAG,MAAM,EAkBlD,CAAC;AAaF,eAAO,MAAM,IAAI,GAAI,OAAO,SAAS,KAAG,MAAM,EAY7C,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO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
299
|
+
`from dia2 import Dia2, GenerationConfig, SamplingConfig
|
|
300
|
+
|
|
301
|
+
dia = Dia2.from_repo("${model.id}", device="cuda", dtype="bfloat16")
|
|
302
|
+
config = GenerationConfig(
|
|
303
|
+
cfg_scale=2.0,
|
|
304
|
+
audio=SamplingConfig(temperature=0.8, top_k=50),
|
|
305
|
+
use_cuda_graph=True,
|
|
306
|
+
)
|
|
307
|
+
result = dia.generate("[S1] Hello Dia2!", config=config, output_wav="hello.wav", verbose=True)
|
|
308
|
+
`,
|
|
309
|
+
];
|
|
298
310
|
export const describe_anything = (model) => [
|
|
299
311
|
`# pip install git+https://github.com/NVlabs/describe-anything
|
|
300
312
|
from huggingface_hub import snapshot_download
|
|
@@ -183,6 +183,25 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
183
183
|
filter: false;
|
|
184
184
|
countDownloads: string;
|
|
185
185
|
};
|
|
186
|
+
cancertathomev2: {
|
|
187
|
+
prettyLabel: string;
|
|
188
|
+
repoName: string;
|
|
189
|
+
repoUrl: string;
|
|
190
|
+
filter: false;
|
|
191
|
+
countDownloads: string;
|
|
192
|
+
};
|
|
193
|
+
cartesia_pytorch: {
|
|
194
|
+
prettyLabel: string;
|
|
195
|
+
repoName: string;
|
|
196
|
+
repoUrl: string;
|
|
197
|
+
snippets: (model: ModelData) => string[];
|
|
198
|
+
};
|
|
199
|
+
cartesia_mlx: {
|
|
200
|
+
prettyLabel: string;
|
|
201
|
+
repoName: string;
|
|
202
|
+
repoUrl: string;
|
|
203
|
+
snippets: (model: ModelData) => string[];
|
|
204
|
+
};
|
|
186
205
|
champ: {
|
|
187
206
|
prettyLabel: string;
|
|
188
207
|
repoName: string;
|
|
@@ -197,6 +216,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
197
216
|
countDownloads: string;
|
|
198
217
|
filter: false;
|
|
199
218
|
};
|
|
219
|
+
chaossim: {
|
|
220
|
+
prettyLabel: string;
|
|
221
|
+
repoName: string;
|
|
222
|
+
repoUrl: string;
|
|
223
|
+
countDownloads: string;
|
|
224
|
+
filter: false;
|
|
225
|
+
};
|
|
200
226
|
chat_tts: {
|
|
201
227
|
prettyLabel: string;
|
|
202
228
|
repoName: string;
|
|
@@ -211,6 +237,20 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
211
237
|
repoUrl: string;
|
|
212
238
|
snippets: (model: ModelData) => string[];
|
|
213
239
|
};
|
|
240
|
+
clara: {
|
|
241
|
+
prettyLabel: string;
|
|
242
|
+
repoName: string;
|
|
243
|
+
filter: false;
|
|
244
|
+
repoUrl: string;
|
|
245
|
+
countDownloads: string;
|
|
246
|
+
};
|
|
247
|
+
clipscope: {
|
|
248
|
+
prettyLabel: string;
|
|
249
|
+
repoName: string;
|
|
250
|
+
repoUrl: string;
|
|
251
|
+
filter: false;
|
|
252
|
+
countDownloads: string;
|
|
253
|
+
};
|
|
214
254
|
"cloud-agents": {
|
|
215
255
|
prettyLabel: string;
|
|
216
256
|
repoName: string;
|
|
@@ -218,6 +258,20 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
218
258
|
filter: false;
|
|
219
259
|
countDownloads: string;
|
|
220
260
|
};
|
|
261
|
+
cosyvoice: {
|
|
262
|
+
prettyLabel: string;
|
|
263
|
+
repoName: string;
|
|
264
|
+
repoUrl: string;
|
|
265
|
+
filter: false;
|
|
266
|
+
countDownloads: string;
|
|
267
|
+
};
|
|
268
|
+
cotracker: {
|
|
269
|
+
prettyLabel: string;
|
|
270
|
+
repoName: string;
|
|
271
|
+
repoUrl: string;
|
|
272
|
+
filter: false;
|
|
273
|
+
countDownloads: string;
|
|
274
|
+
};
|
|
221
275
|
colpali: {
|
|
222
276
|
prettyLabel: string;
|
|
223
277
|
repoName: string;
|
|
@@ -289,6 +343,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
289
343
|
snippets: (model: ModelData) => string[];
|
|
290
344
|
filter: false;
|
|
291
345
|
};
|
|
346
|
+
dia2: {
|
|
347
|
+
prettyLabel: string;
|
|
348
|
+
repoName: string;
|
|
349
|
+
repoUrl: string;
|
|
350
|
+
snippets: (model: ModelData) => string[];
|
|
351
|
+
filter: false;
|
|
352
|
+
};
|
|
292
353
|
"diff-interpretation-tuning": {
|
|
293
354
|
prettyLabel: string;
|
|
294
355
|
repoName: string;
|
|
@@ -317,43 +378,17 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
317
378
|
repoUrl: string;
|
|
318
379
|
snippets: (model: ModelData) => string[];
|
|
319
380
|
};
|
|
320
|
-
|
|
321
|
-
prettyLabel: string;
|
|
322
|
-
repoName: string;
|
|
323
|
-
repoUrl: string;
|
|
324
|
-
};
|
|
325
|
-
cartesia_pytorch: {
|
|
326
|
-
prettyLabel: string;
|
|
327
|
-
repoName: string;
|
|
328
|
-
repoUrl: string;
|
|
329
|
-
snippets: (model: ModelData) => string[];
|
|
330
|
-
};
|
|
331
|
-
cartesia_mlx: {
|
|
332
|
-
prettyLabel: string;
|
|
333
|
-
repoName: string;
|
|
334
|
-
repoUrl: string;
|
|
335
|
-
snippets: (model: ModelData) => string[];
|
|
336
|
-
};
|
|
337
|
-
clipscope: {
|
|
381
|
+
"docking-at-home": {
|
|
338
382
|
prettyLabel: string;
|
|
339
383
|
repoName: string;
|
|
340
384
|
repoUrl: string;
|
|
341
385
|
filter: false;
|
|
342
386
|
countDownloads: string;
|
|
343
387
|
};
|
|
344
|
-
|
|
345
|
-
prettyLabel: string;
|
|
346
|
-
repoName: string;
|
|
347
|
-
repoUrl: string;
|
|
348
|
-
filter: false;
|
|
349
|
-
countDownloads: string;
|
|
350
|
-
};
|
|
351
|
-
cotracker: {
|
|
388
|
+
doctr: {
|
|
352
389
|
prettyLabel: string;
|
|
353
390
|
repoName: string;
|
|
354
391
|
repoUrl: string;
|
|
355
|
-
filter: false;
|
|
356
|
-
countDownloads: string;
|
|
357
392
|
};
|
|
358
393
|
edsnlp: {
|
|
359
394
|
prettyLabel: string;
|
|
@@ -1374,5 +1409,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1374
1409
|
};
|
|
1375
1410
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
1376
1411
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
1377
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "champ" | "chatterbox" | "chat_tts" | "chronos-forecasting" | "cloud-agents" | "colpali" | "comet" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "
|
|
1412
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "bboxmaskpose" | "ben2" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "boltzgen" | "cancertathomev2" | "cartesia_pytorch" | "cartesia_mlx" | "champ" | "chatterbox" | "chaossim" | "chat_tts" | "chronos-forecasting" | "clara" | "clipscope" | "cloud-agents" | "cosyvoice" | "cotracker" | "colpali" | "comet" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "dia2" | "diff-interpretation-tuning" | "diffree" | "diffusers" | "diffusionkit" | "docking-at-home" | "doctr" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fastprint" | "fasttext" | "fixer" | "flair" | "fme" | "gemma.cpp" | "geometry-crafter" | "gliner" | "gliner2" | "glyph-byt5" | "grok" | "hallo" | "hermes" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "hunyuanworld-voyager" | "image-matching-models" | "imstoucan" | "index-tts" | "infinitetalk" | "infinite-you" | "keras" | "tf-keras" | "keras-hub" | "kernels" | "kimi-audio" | "kittentts" | "kronos" | "k2" | "lightning-ir" | "litert" | "litert-lm" | "lerobot" | "lightglue" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "magenta-realtime" | "mamba-ssm" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "mtvcraft" | "nemo" | "open-oasis" | "open_clip" | "openpeerllm" | "open-sora" | "outetts" | "paddlenlp" | "PaddleOCR" | "peft" | "perception-encoder" | "phantom-wan" | "pruna-ai" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "quantumpeer" | "recurrentgemma" | "relik" | "refiners" | "renderformer" | "reverb" | "rkllm" | "saelens" | "sam2" | "sample-factory" | "sap-rpt-1-oss" | "sapiens" | "seedvr" | "self-forcing" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "soloaudio" | "songbloom" | "stable-baselines3" | "stanza" | "swarmformer" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tensorrt" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "videoprism" | "vfi-mamba" | "lvface" | "voicecraft" | "voxcpm" | "vui" | "vibevoice" | "wan2.2" | "wham" | "whisperkit" | "yolov10" | "zonos" | "3dtopia-xl")[];
|
|
1378
1413
|
//# 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,EAAE,SAAS,KAAK,MAAM,EAAE,CAAC;IAC1C;;;;;OAKG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;GAaG;AAEH,eAAO,MAAM,2BAA2B
|
|
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,EAAE,SAAS,KAAK,MAAM,EAAE,CAAC;IAC1C;;;;;OAKG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+0CI,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,EAA+C,eAAe,EAAE,CAAC;AAEpG,eAAO,MAAM,8BAA8B,2kFAQ1B,CAAC"}
|
|
@@ -143,6 +143,25 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
143
143
|
filter: false,
|
|
144
144
|
countDownloads: `path:"boltzgen1_diverse.ckpt"`,
|
|
145
145
|
},
|
|
146
|
+
cancertathomev2: {
|
|
147
|
+
prettyLabel: "Cancer@HomeV2",
|
|
148
|
+
repoName: "Cancer@HomeV2",
|
|
149
|
+
repoUrl: "https://huggingface.co/OpenPeerAI/CancerAtHomeV2",
|
|
150
|
+
filter: false,
|
|
151
|
+
countDownloads: `path:"run.py"`,
|
|
152
|
+
},
|
|
153
|
+
cartesia_pytorch: {
|
|
154
|
+
prettyLabel: "Cartesia Pytorch",
|
|
155
|
+
repoName: "Cartesia Pytorch",
|
|
156
|
+
repoUrl: "https://github.com/cartesia-ai/cartesia_pytorch",
|
|
157
|
+
snippets: snippets.cartesia_pytorch,
|
|
158
|
+
},
|
|
159
|
+
cartesia_mlx: {
|
|
160
|
+
prettyLabel: "Cartesia MLX",
|
|
161
|
+
repoName: "Cartesia MLX",
|
|
162
|
+
repoUrl: "https://github.com/cartesia-ai/cartesia_mlx",
|
|
163
|
+
snippets: snippets.cartesia_mlx,
|
|
164
|
+
},
|
|
146
165
|
champ: {
|
|
147
166
|
prettyLabel: "Champ",
|
|
148
167
|
repoName: "Champ",
|
|
@@ -157,6 +176,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
157
176
|
countDownloads: `path:"tokenizer.json"`,
|
|
158
177
|
filter: false,
|
|
159
178
|
},
|
|
179
|
+
chaossim: {
|
|
180
|
+
prettyLabel: "ChaosSIM",
|
|
181
|
+
repoName: "ChaosSIM",
|
|
182
|
+
repoUrl: "https://huggingface.co/OpenPeerAI/ChaosSIM/",
|
|
183
|
+
countDownloads: `path:"ChaosSim.nb"`,
|
|
184
|
+
filter: false,
|
|
185
|
+
},
|
|
160
186
|
chat_tts: {
|
|
161
187
|
prettyLabel: "ChatTTS",
|
|
162
188
|
repoName: "ChatTTS",
|
|
@@ -171,6 +197,20 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
171
197
|
repoUrl: "https://github.com/amazon-science/chronos-forecasting",
|
|
172
198
|
snippets: snippets.chronos_forecasting,
|
|
173
199
|
},
|
|
200
|
+
clara: {
|
|
201
|
+
prettyLabel: "Clara",
|
|
202
|
+
repoName: "Clara",
|
|
203
|
+
filter: false,
|
|
204
|
+
repoUrl: "https://github.com/nvidia/clara",
|
|
205
|
+
countDownloads: `path_extension:"ckpt" OR path:"config.json"`,
|
|
206
|
+
},
|
|
207
|
+
clipscope: {
|
|
208
|
+
prettyLabel: "clipscope",
|
|
209
|
+
repoName: "clipscope",
|
|
210
|
+
repoUrl: "https://github.com/Lewington-pitsos/clipscope",
|
|
211
|
+
filter: false,
|
|
212
|
+
countDownloads: `path_extension:"pt"`,
|
|
213
|
+
},
|
|
174
214
|
"cloud-agents": {
|
|
175
215
|
prettyLabel: "Cloud Agents",
|
|
176
216
|
repoName: "Cloud Agents",
|
|
@@ -178,6 +218,20 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
178
218
|
filter: false,
|
|
179
219
|
countDownloads: `path:"setup.py"`,
|
|
180
220
|
},
|
|
221
|
+
cosyvoice: {
|
|
222
|
+
prettyLabel: "CosyVoice",
|
|
223
|
+
repoName: "CosyVoice",
|
|
224
|
+
repoUrl: "https://github.com/FunAudioLLM/CosyVoice",
|
|
225
|
+
filter: false,
|
|
226
|
+
countDownloads: `path_extension:"onnx" OR path_extension:"pt"`,
|
|
227
|
+
},
|
|
228
|
+
cotracker: {
|
|
229
|
+
prettyLabel: "CoTracker",
|
|
230
|
+
repoName: "CoTracker",
|
|
231
|
+
repoUrl: "https://github.com/facebookresearch/co-tracker",
|
|
232
|
+
filter: false,
|
|
233
|
+
countDownloads: `path_extension:"pth"`,
|
|
234
|
+
},
|
|
181
235
|
colpali: {
|
|
182
236
|
prettyLabel: "ColPali",
|
|
183
237
|
repoName: "ColPali",
|
|
@@ -249,6 +303,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
249
303
|
snippets: snippets.dia,
|
|
250
304
|
filter: false,
|
|
251
305
|
},
|
|
306
|
+
dia2: {
|
|
307
|
+
prettyLabel: "Dia2",
|
|
308
|
+
repoName: "Dia2",
|
|
309
|
+
repoUrl: "https://github.com/nari-labs/dia2",
|
|
310
|
+
snippets: snippets.dia2,
|
|
311
|
+
filter: false,
|
|
312
|
+
},
|
|
252
313
|
"diff-interpretation-tuning": {
|
|
253
314
|
prettyLabel: "Diff Interpretation Tuning",
|
|
254
315
|
repoName: "Diff Interpretation Tuning",
|
|
@@ -278,44 +339,18 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
278
339
|
repoUrl: "https://github.com/argmaxinc/DiffusionKit",
|
|
279
340
|
snippets: snippets.diffusionkit,
|
|
280
341
|
},
|
|
342
|
+
"docking-at-home": {
|
|
343
|
+
prettyLabel: "Docking@Home",
|
|
344
|
+
repoName: "Docking@Home",
|
|
345
|
+
repoUrl: "https://huggingface.co/OpenPeerAI/DockingAtHOME",
|
|
346
|
+
filter: false,
|
|
347
|
+
countDownloads: `path:"setup.py"`,
|
|
348
|
+
},
|
|
281
349
|
doctr: {
|
|
282
350
|
prettyLabel: "docTR",
|
|
283
351
|
repoName: "doctr",
|
|
284
352
|
repoUrl: "https://github.com/mindee/doctr",
|
|
285
353
|
},
|
|
286
|
-
cartesia_pytorch: {
|
|
287
|
-
prettyLabel: "Cartesia Pytorch",
|
|
288
|
-
repoName: "Cartesia Pytorch",
|
|
289
|
-
repoUrl: "https://github.com/cartesia-ai/cartesia_pytorch",
|
|
290
|
-
snippets: snippets.cartesia_pytorch,
|
|
291
|
-
},
|
|
292
|
-
cartesia_mlx: {
|
|
293
|
-
prettyLabel: "Cartesia MLX",
|
|
294
|
-
repoName: "Cartesia MLX",
|
|
295
|
-
repoUrl: "https://github.com/cartesia-ai/cartesia_mlx",
|
|
296
|
-
snippets: snippets.cartesia_mlx,
|
|
297
|
-
},
|
|
298
|
-
clipscope: {
|
|
299
|
-
prettyLabel: "clipscope",
|
|
300
|
-
repoName: "clipscope",
|
|
301
|
-
repoUrl: "https://github.com/Lewington-pitsos/clipscope",
|
|
302
|
-
filter: false,
|
|
303
|
-
countDownloads: `path_extension:"pt"`,
|
|
304
|
-
},
|
|
305
|
-
cosyvoice: {
|
|
306
|
-
prettyLabel: "CosyVoice",
|
|
307
|
-
repoName: "CosyVoice",
|
|
308
|
-
repoUrl: "https://github.com/FunAudioLLM/CosyVoice",
|
|
309
|
-
filter: false,
|
|
310
|
-
countDownloads: `path_extension:"onnx" OR path_extension:"pt"`,
|
|
311
|
-
},
|
|
312
|
-
cotracker: {
|
|
313
|
-
prettyLabel: "CoTracker",
|
|
314
|
-
repoName: "CoTracker",
|
|
315
|
-
repoUrl: "https://github.com/facebookresearch/co-tracker",
|
|
316
|
-
filter: false,
|
|
317
|
-
countDownloads: `path_extension:"pth"`,
|
|
318
|
-
},
|
|
319
354
|
edsnlp: {
|
|
320
355
|
prettyLabel: "EDS-NLP",
|
|
321
356
|
repoName: "edsnlp",
|
package/dist/esm/pipelines.d.ts
CHANGED
|
@@ -290,6 +290,14 @@ export declare const PIPELINE_DATA: {
|
|
|
290
290
|
name: string;
|
|
291
291
|
modality: "multimodal";
|
|
292
292
|
};
|
|
293
|
+
"image-text-to-image": {
|
|
294
|
+
name: string;
|
|
295
|
+
modality: "multimodal";
|
|
296
|
+
};
|
|
297
|
+
"image-text-to-video": {
|
|
298
|
+
name: string;
|
|
299
|
+
modality: "multimodal";
|
|
300
|
+
};
|
|
293
301
|
"visual-question-answering": {
|
|
294
302
|
name: string;
|
|
295
303
|
subtasks: {
|
|
@@ -373,5 +381,5 @@ export type PipelineType = keyof typeof PIPELINE_DATA;
|
|
|
373
381
|
export type WidgetType = PipelineType | "conversational";
|
|
374
382
|
export declare const PIPELINE_TYPES: PipelineType[];
|
|
375
383
|
export declare const SUBTASK_TYPES: string[];
|
|
376
|
-
export declare const PIPELINE_TYPES_SET: Set<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | "feature-extraction" | "text-generation" | "fill-mask" | "sentence-similarity" | "text-to-speech" | "text-to-audio" | "automatic-speech-recognition" | "audio-to-audio" | "audio-classification" | "audio-text-to-text" | "voice-activity-detection" | "depth-estimation" | "image-classification" | "object-detection" | "image-segmentation" | "text-to-image" | "image-to-text" | "image-to-image" | "image-to-video" | "unconditional-image-generation" | "video-classification" | "reinforcement-learning" | "robotics" | "tabular-classification" | "tabular-regression" | "tabular-to-text" | "table-to-text" | "multiple-choice" | "text-ranking" | "text-retrieval" | "time-series-forecasting" | "text-to-video" | "image-text-to-text" | "visual-question-answering" | "document-question-answering" | "zero-shot-image-classification" | "graph-ml" | "mask-generation" | "zero-shot-object-detection" | "text-to-3d" | "image-to-3d" | "image-feature-extraction" | "video-text-to-text" | "keypoint-detection" | "visual-document-retrieval" | "any-to-any" | "video-to-video">;
|
|
384
|
+
export declare const PIPELINE_TYPES_SET: Set<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | "feature-extraction" | "text-generation" | "fill-mask" | "sentence-similarity" | "text-to-speech" | "text-to-audio" | "automatic-speech-recognition" | "audio-to-audio" | "audio-classification" | "audio-text-to-text" | "voice-activity-detection" | "depth-estimation" | "image-classification" | "object-detection" | "image-segmentation" | "text-to-image" | "image-to-text" | "image-to-image" | "image-to-video" | "unconditional-image-generation" | "video-classification" | "reinforcement-learning" | "robotics" | "tabular-classification" | "tabular-regression" | "tabular-to-text" | "table-to-text" | "multiple-choice" | "text-ranking" | "text-retrieval" | "time-series-forecasting" | "text-to-video" | "image-text-to-text" | "image-text-to-image" | "image-text-to-video" | "visual-question-answering" | "document-question-answering" | "zero-shot-image-classification" | "graph-ml" | "mask-generation" | "zero-shot-object-detection" | "text-to-3d" | "image-to-3d" | "image-feature-extraction" | "video-text-to-text" | "keypoint-detection" | "visual-document-retrieval" | "any-to-any" | "video-to-video">;
|
|
377
385
|
//# sourceMappingURL=pipelines.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/pipelines.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,yEAA0E,CAAC;AAElG,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,eAAO,MAAM,eAAe;;;;;;;;CAQQ,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,WAAW,OAAO;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACb;AAED;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,Q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;;;;;;;;;;;CAwkBc,CAAC;AAEzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAEtD,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,gBAAgB,CAAC;AAEzD,eAAO,MAAM,cAAc,EAAiC,YAAY,EAAE,CAAC;AAE3E,eAAO,MAAM,aAAa,UAEN,CAAC;AAErB,eAAO,MAAM,kBAAkB,iwCAA0B,CAAC"}
|
package/dist/esm/pipelines.js
CHANGED
|
@@ -512,6 +512,14 @@ export const PIPELINE_DATA = {
|
|
|
512
512
|
name: "Image-Text-to-Text",
|
|
513
513
|
modality: "multimodal",
|
|
514
514
|
},
|
|
515
|
+
"image-text-to-image": {
|
|
516
|
+
name: "Image-Text-to-Image",
|
|
517
|
+
modality: "multimodal",
|
|
518
|
+
},
|
|
519
|
+
"image-text-to-video": {
|
|
520
|
+
name: "Image-Text-to-Video",
|
|
521
|
+
modality: "multimodal",
|
|
522
|
+
},
|
|
515
523
|
"visual-question-answering": {
|
|
516
524
|
name: "Visual Question Answering",
|
|
517
525
|
subtasks: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../src/snippets/inputs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"inputs.d.ts","sourceRoot":"","sources":["../../../src/snippets/inputs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAqKnD,wBAAgB,oBAAoB,CACnC,KAAK,EAAE,gBAAgB,EACvB,MAAM,UAAQ,EACd,QAAQ,UAAQ,GACd,MAAM,GAAG,0BAA0B,EAAE,CAmBvC"}
|
|
@@ -68,6 +68,14 @@ const inputsImageToVideo = () => `{
|
|
|
68
68
|
"image": "cat.png",
|
|
69
69
|
"prompt": "The cat starts to dance"
|
|
70
70
|
}`;
|
|
71
|
+
const inputsImageTextToImage = () => `{
|
|
72
|
+
"image": "cat.png",
|
|
73
|
+
"prompt": "Turn the cat into a tiger."
|
|
74
|
+
}`;
|
|
75
|
+
const inputsImageTextToVideo = () => `{
|
|
76
|
+
"image": "cat.png",
|
|
77
|
+
"prompt": "The cat starts to dance"
|
|
78
|
+
}`;
|
|
71
79
|
const inputsImageSegmentation = () => `"cats.jpg"`;
|
|
72
80
|
const inputsObjectDetection = () => `"cats.jpg"`;
|
|
73
81
|
const inputsAudioToAudio = () => `"sample1.flac"`;
|
|
@@ -90,6 +98,8 @@ const modelInputSnippets = {
|
|
|
90
98
|
"image-to-text": inputsImageToText,
|
|
91
99
|
"image-to-image": inputsImageToImage,
|
|
92
100
|
"image-to-video": inputsImageToVideo,
|
|
101
|
+
"image-text-to-image": inputsImageTextToImage,
|
|
102
|
+
"image-text-to-video": inputsImageTextToVideo,
|
|
93
103
|
"image-segmentation": inputsImageSegmentation,
|
|
94
104
|
"object-detection": inputsObjectDetection,
|
|
95
105
|
"question-answering": inputsQuestionAnswering,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-text-to-image/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,QAAQ,EAAE,cAiDf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
const taskData = {
|
|
2
|
+
datasets: [],
|
|
3
|
+
demo: {
|
|
4
|
+
inputs: [
|
|
5
|
+
{
|
|
6
|
+
filename: "image-text-to-image-input.jpeg",
|
|
7
|
+
type: "img",
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
label: "Input",
|
|
11
|
+
content: "A city above clouds, pastel colors, Victorian style",
|
|
12
|
+
type: "text",
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
outputs: [
|
|
16
|
+
{
|
|
17
|
+
filename: "image-text-to-image-output.png",
|
|
18
|
+
type: "img",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
metrics: [
|
|
23
|
+
{
|
|
24
|
+
description: "The Fréchet Inception Distance (FID) calculates the distance between distributions between synthetic and real samples. A lower FID score indicates better similarity between the distributions of real and generated images.",
|
|
25
|
+
id: "FID",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
description: "CLIP Score measures the similarity between the generated image and the text prompt using CLIP embeddings. A higher score indicates better alignment with the text prompt.",
|
|
29
|
+
id: "CLIP",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
models: [
|
|
33
|
+
{
|
|
34
|
+
description: "A powerful model for image-text-to-image generation.",
|
|
35
|
+
id: "black-forest-labs/FLUX.2-dev",
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
spaces: [
|
|
39
|
+
{
|
|
40
|
+
description: "An application for image-text-to-image generation.",
|
|
41
|
+
id: "black-forest-labs/FLUX.2-dev",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
summary: "Image-text-to-image models take an image and a text prompt as input and generate a new image based on the reference image and text instructions. These models are useful for image editing, style transfer, image variations, and guided image generation tasks.",
|
|
45
|
+
widgetModels: ["black-forest-labs/FLUX.2-dev"],
|
|
46
|
+
youtubeId: undefined,
|
|
47
|
+
};
|
|
48
|
+
export default taskData;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Inference code generated from the JSON schema spec in ./spec
|
|
3
|
+
*
|
|
4
|
+
* Using src/scripts/inference-codegen
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Inputs for Image Text To Image inference. Either inputs (image) or prompt (in parameters)
|
|
8
|
+
* must be provided, or both.
|
|
9
|
+
*/
|
|
10
|
+
export interface ImageTextToImageInput {
|
|
11
|
+
/**
|
|
12
|
+
* The input image data as a base64-encoded string. If no `parameters` are provided, you can
|
|
13
|
+
* also provide the image data as a raw bytes payload. Either this or prompt must be
|
|
14
|
+
* provided.
|
|
15
|
+
*/
|
|
16
|
+
inputs?: Blob;
|
|
17
|
+
/**
|
|
18
|
+
* Additional inference parameters for Image Text To Image
|
|
19
|
+
*/
|
|
20
|
+
parameters?: ImageTextToImageParameters;
|
|
21
|
+
[property: string]: unknown;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Additional inference parameters for Image Text To Image
|
|
25
|
+
*/
|
|
26
|
+
export interface ImageTextToImageParameters {
|
|
27
|
+
/**
|
|
28
|
+
* For diffusion models. A higher guidance scale value encourages the model to generate
|
|
29
|
+
* images closely linked to the text prompt at the expense of lower image quality.
|
|
30
|
+
*/
|
|
31
|
+
guidance_scale?: number;
|
|
32
|
+
/**
|
|
33
|
+
* One prompt to guide what NOT to include in image generation.
|
|
34
|
+
*/
|
|
35
|
+
negative_prompt?: string;
|
|
36
|
+
/**
|
|
37
|
+
* For diffusion models. The number of denoising steps. More denoising steps usually lead to
|
|
38
|
+
* a higher quality image at the expense of slower inference.
|
|
39
|
+
*/
|
|
40
|
+
num_inference_steps?: number;
|
|
41
|
+
/**
|
|
42
|
+
* The text prompt to guide the image generation. Either this or inputs (image) must be
|
|
43
|
+
* provided.
|
|
44
|
+
*/
|
|
45
|
+
prompt?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Seed for the random number generator.
|
|
48
|
+
*/
|
|
49
|
+
seed?: number;
|
|
50
|
+
/**
|
|
51
|
+
* The size in pixels of the output image. This parameter is only supported by some
|
|
52
|
+
* providers and for specific models. It will be ignored when unsupported.
|
|
53
|
+
*/
|
|
54
|
+
target_size?: TargetSize;
|
|
55
|
+
[property: string]: unknown;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The size in pixels of the output image. This parameter is only supported by some
|
|
59
|
+
* providers and for specific models. It will be ignored when unsupported.
|
|
60
|
+
*/
|
|
61
|
+
export interface TargetSize {
|
|
62
|
+
height: number;
|
|
63
|
+
width: number;
|
|
64
|
+
[property: string]: unknown;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Outputs of inference for the Image Text To Image task
|
|
68
|
+
*/
|
|
69
|
+
export interface ImageTextToImageOutput {
|
|
70
|
+
/**
|
|
71
|
+
* The generated image returned as raw bytes in the payload.
|
|
72
|
+
*/
|
|
73
|
+
image: unknown;
|
|
74
|
+
[property: string]: unknown;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=inference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inference.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-text-to-image/inference.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACrC;;;;OAIG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,0BAA0B,CAAC;IACxC,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B;AACD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IAC1C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B;AACD;;;GAGG;AACH,MAAM,WAAW,UAAU;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B;AACD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACtC;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IACf,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-text-to-video/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,QAAQ,EAAE,cAiDf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
const taskData = {
|
|
2
|
+
datasets: [],
|
|
3
|
+
demo: {
|
|
4
|
+
inputs: [
|
|
5
|
+
{
|
|
6
|
+
filename: "image-text-to-video-input.jpg",
|
|
7
|
+
type: "img",
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
label: "Input",
|
|
11
|
+
content: "Darth Vader is surfing on the waves.",
|
|
12
|
+
type: "text",
|
|
13
|
+
},
|
|
14
|
+
],
|
|
15
|
+
outputs: [
|
|
16
|
+
{
|
|
17
|
+
filename: "image-text-to-video-output.gif",
|
|
18
|
+
type: "img",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
metrics: [
|
|
23
|
+
{
|
|
24
|
+
description: "Frechet Video Distance uses a model that captures coherence for changes in frames and the quality of each frame. A smaller score indicates better video generation.",
|
|
25
|
+
id: "fvd",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
description: "CLIPSIM measures similarity between video frames and text using an image-text similarity model. A higher score indicates better video generation.",
|
|
29
|
+
id: "clipsim",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
models: [
|
|
33
|
+
{
|
|
34
|
+
description: "A powerful model for image-text-to-video generation.",
|
|
35
|
+
id: "Lightricks/LTX-Video",
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
spaces: [
|
|
39
|
+
{
|
|
40
|
+
description: "An application for image-text-to-video generation.",
|
|
41
|
+
id: "Lightricks/ltx-video-distilled",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
summary: "Image-text-to-video models take an reference image and a text instructions as and generate a video based on them. These models are useful for animating still images, creating dynamic content from static references, and generating videos with specific motion or transformation guidance.",
|
|
45
|
+
widgetModels: ["Lightricks/LTX-Video"],
|
|
46
|
+
youtubeId: undefined,
|
|
47
|
+
};
|
|
48
|
+
export default taskData;
|