huggingface.js icon indicating copy to clipboard operation
huggingface.js copied to clipboard

[feat] Add comfy to local apps

Open melMass opened this issue 1 year ago • 4 comments

image

melMass avatar Aug 17 '24 09:08 melMass

what URL would the link open?

julien-c avatar Aug 17 '24 10:08 julien-c

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

  • https://www.comfy.org
  • https://github.com/comfy-org
  • https://x.com/comfyui
  • https://github.com/comfyanonymous/ComfyUI

melMass avatar Aug 17 '24 10:08 melMass

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

julien-c avatar Aug 17 '24 12:08 julien-c

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

melMass avatar Aug 17 '24 15:08 melMass