-
Notifications
You must be signed in to change notification settings - Fork 441
Add Jellybox Local App #719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,6 +118,25 @@ export const LOCAL_APPS = { | |
displayOnModelPage: isGgufModel, | ||
deeplink: (model) => new URL(`sanctum://open_from_hf?model=${model.id}`), | ||
}, | ||
jellybox: { | ||
prettyLabel: "Jellybox", | ||
docsUrl: "https://jellybox.com", | ||
mainTask: "text-generation", | ||
displayOnModelPage: (model) => | ||
isGgufModel(model) || | ||
(model.library_name === "diffusers" && | ||
model.tags.includes("safetensors") && | ||
(model.pipeline_tag === "text-to-image" || model.tags.includes("lora"))), | ||
deeplink: (model) => { | ||
if (isGgufModel(model)) { | ||
return new URL(`jellybox://llm/models/huggingface/LLM/${model.id}`); | ||
} else if (model.tags.includes("lora")) { | ||
return new URL(`jellybox://image/models/huggingface/ImageLora/${model.id}`); | ||
} else { | ||
return new URL(`jellybox://image/models/huggingface/Image/${model.id}`); | ||
Comment on lines
+132
to
+136
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. btw take a look at #738 in case you'd like to support opening from an optional specific file inside the repo! thanks! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the heads up! Taking a look. |
||
} | ||
}, | ||
}, | ||
msty: { | ||
prettyLabel: "Msty", | ||
docsUrl: "https://msty.app", | ||
|
Uh oh!
There was an error while loading. Please reload this page.