Skip to content

Commit 27709d0

Browse files
committed
Add Jellybox to local apps
1 parent f94376b commit 27709d0

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
@@ -110,6 +110,23 @@ export const LOCAL_APPS = {
110110
displayOnModelPage: isGgufModel,
111111
deeplink: (model) => new URL(`sanctum://open_from_hf?model=${model.id}`),
112112
},
113+
jellybox : {
114+
prettyLabel: "Jellybox",
115+
docsUrl: "https://jellybox.com",
116+
mainTask: "text-generation",
117+
displayOnModelPage: (model) =>
118+
isGgufModel(model) ||
119+
model.library_name === "diffusers" && model.tags.includes("safetensors") && (model.pipeline_tag === "text-to-image" || model.tags.includes("lora")),
120+
deeplink: (model) => {
121+
if(isGgufModel(model)) {
122+
return new URL(`jellybox://llm/models/huggingface/LLM/${model.id}`);
123+
} else if (model.tags.includes("lora")) {
124+
return new URL(`jellybox://image/models/huggingface/ImageLora/${model.id}`);
125+
} else {
126+
return new URL(`jellybox://image/models/huggingface/Image/${model.id}`);
127+
}
128+
},
129+
},
113130
drawthings: {
114131
prettyLabel: "Draw Things",
115132
docsUrl: "https://drawthings.ai",

0 commit comments

Comments
 (0)