Skip to content

Commit 96f6b01

Browse files
committed
Add Jellybox to local apps
1 parent 2b93cef commit 96f6b01

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

packages/tasks/src/local-apps.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,23 @@ export const LOCAL_APPS = {
103103
displayOnModelPage: isGgufModel,
104104
deeplink: (model) => new URL(`https://backyard.ai/hf/model/${model.id}`),
105105
},
106+
jellybox : {
107+
prettyLabel: "Jellybox",
108+
docsUrl: "https://jellybox.com",
109+
mainTask: "text-generation",
110+
displayOnModelPage: (model) =>
111+
isGgufModel(model) ||
112+
model.library_name === "diffusers" && model.tags.includes("safetensors") && (model.pipeline_tag === "text-to-image" || model.tags.includes("lora")),
113+
deeplink: (model) => {
114+
if(isGgufModel(model)) {
115+
return new URL(`jellybox://llm/models/huggingface/LLM/${model.id}`);
116+
} else if (model.tags.includes("lora")) {
117+
return new URL(`jellybox://image/models/huggingface/ImageLora/${model.id}`);
118+
} else {
119+
return new URL(`jellybox://image/models/huggingface/Image/${model.id}`);
120+
}
121+
},
122+
},
106123
drawthings: {
107124
prettyLabel: "Draw Things",
108125
docsUrl: "https://drawthings.ai",

0 commit comments

Comments
 (0)