Skip to content

Commit 7a47dc2

Browse files
committed
FEAT(local-apps): add ComfyUI LocalApp
Signed-off-by: tildebyte <[email protected]>
1 parent f0672f9 commit 7a47dc2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/tasks/src/local-apps.ts

+9
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,15 @@ export const LOCAL_APPS = {
323323
displayOnModelPage: (model) => model.library_name === "diffusers" && model.pipeline_tag === "text-to-image",
324324
deeplink: (model) => new URL(`https://models.invoke.ai/huggingface/${model.id}`),
325325
},
326+
comfyui: {
327+
prettyLabel: "ComfyUI",
328+
docsUrl: "https://docs.comfy.org/get_started/introduction",
329+
mainTask: "text-to-image",
330+
displayOnModelPage: (model: ModelData) =>
331+
(isGgufModel(model) || (isTransformersModel(model) && model.tags.includes("safetensors"))) &&
332+
model.tags.includes("text-to-image"),
333+
deeplink: (model) => new URL(`https://huggingface.co/${model.id}`),
334+
},
326335
} satisfies Record<string, LocalApp>;
327336

328337
export type LocalAppKey = keyof typeof LOCAL_APPS;

0 commit comments

Comments
 (0)