huggingface / huggingface.js

Utilities to use the Hugging Face Hub API
https://hf.co/docs/huggingface.js
MIT License
1.37k stars 206 forks source link

[feat] Add comfy to local apps #855

Open melMass opened 1 month ago

melMass commented 1 month ago
image
julien-c commented 1 month ago

what URL would the link open?

melMass commented 1 month ago

I would say either the Github repo or the new ComfyOrg website/org, here are candidates:

julien-c commented 1 month ago

no sorry, what i meant is that we would need a model-specific URL to "deeplink" into a local ComfyUI instance, that would in turn download the model in question

Those links are displayed on model pages in "Use this model" dropdown so they need to be model-specific.

see the deeplink properties in this object: https://github.com/huggingface/huggingface.js/blob/177edf685e9e6a266a89d15820f121d22af5aa10/packages/tasks/src/local-apps.ts#L136-L253

melMass commented 1 month ago

Oh that's awesome I didn't know. I don't think comfy register any url scheme like that yet. Let me ask the org about that