Skip to content

Commit

Permalink
FEAT(local-apps): add ComfyUI LocalApp
Browse files Browse the repository at this point in the history
Signed-off-by: tildebyte <[email protected]>
  • Loading branch information
tildebyte committed Oct 5, 2024
1 parent 4e7a89a commit 5ebe7a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/tasks/src/local-apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,15 @@ export const LOCAL_APPS = {
displayOnModelPage: (model) => model.library_name === "diffusers" && model.pipeline_tag === "text-to-image",
deeplink: (model) => new URL(`https://models.invoke.ai/huggingface/${model.id}`),
},
comfyui: {
prettyLabel: "ComfyUI",
docsUrl: "https://docs.comfy.org/get_started/introduction",
mainTask: "text-to-image",
displayOnModelPage: (model: ModelData) =>
(isGgufModel(model) || (isTransformersModel(model) && model.tags.includes("safetensors"))) &&
model.tags.includes("text-to-image"),
deeplink: (model) => new URL(`https://huggingface.co/${model.id}`),
},
} satisfies Record<string, LocalApp>;

export type LocalAppKey = keyof typeof LOCAL_APPS;

0 comments on commit 5ebe7a6

Please sign in to comment.