File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -328,6 +328,21 @@ 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+ (
337+ (
338+ isGgufModel ( model ) ||
339+ ( isTransformersModel ( model ) &&
340+ model . tags . includes ( "safetensors" ) )
341+ ) &&
342+ model . tags . includes ( "text-to-image" )
343+ ) ,
344+ deeplink : ( model ) => new URL ( `https://huggingface.co/${ model . id } ` ) ,
345+ } ,
331346} satisfies Record < string , LocalApp > ;
332347
333348export type LocalAppKey = keyof typeof LOCAL_APPS ;
You can’t perform that action at this time.
0 commit comments