Skip to content

Commit aab413d

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

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
@@ -328,6 +328,15 @@ export const LOCAL_APPS = {
328328
displayOnModelPage: (model) => model.library_name === "diffusers" && model.pipeline_tag === "text-to-image",
329329
deeplink: (model) => new URL(`https://models.invoke.ai/huggingface/${model.id}`),
330330
},
331+
comfyui: {
332+
prettyLabel: "ComfyUI",
333+
docsUrl: "https://docs.comfy.org/get_started/introduction",
334+
mainTask: "text-to-image",
335+
displayOnModelPage: (model: ModelData) =>
336+
(isGgufModel(model) || (isTransformersModel(model) && model.tags.includes("safetensors"))) &&
337+
model.tags.includes("text-to-image"),
338+
deeplink: (model) => new URL(`https://huggingface.co/${model.id}`),
339+
},
331340
} satisfies Record<string, LocalApp>;
332341

333342
export type LocalAppKey = keyof typeof LOCAL_APPS;

0 commit comments

Comments
 (0)