mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
feat: add model type mappings for cloud custom nodes
Add mappings for model directories used by cloud-deployed custom nodes: - FlashVSR, SEEDVR2 (video upscaling) - depthanything (depth estimation) - latent_upscale_models (latent upscaling) - sam2, sams, ultralytics (segmentation) - nlf (other) These mappings enable the "Use" button in the model browser to create the correct loader node when users click on models in these directories. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -192,6 +192,24 @@ export const useModelToNodeStore = defineStore('modelToNode', () => {
|
||||
''
|
||||
)
|
||||
quickRegister('chatterbox/chatterbox_vc', 'FL_ChatterboxVC', '')
|
||||
|
||||
// Video upscaling models
|
||||
quickRegister('FlashVSR', 'FlashVSRInitPipe', 'model')
|
||||
quickRegister('SEEDVR2', 'SeedVR2LoadDiTModel', 'model')
|
||||
|
||||
// Depth estimation models
|
||||
quickRegister('depthanything', 'DownloadAndLoadDepthAnythingV2Model', 'model')
|
||||
|
||||
// Latent upscaling models
|
||||
quickRegister('latent_upscale_models', 'LatentUpscaleModelLoader', 'model_name')
|
||||
|
||||
// Segmentation models
|
||||
quickRegister('sam2', 'DownloadAndLoadSAM2Model', 'model')
|
||||
quickRegister('sams', 'SAMLoader', 'model_name')
|
||||
quickRegister('ultralytics', 'UltralyticsDetectorProvider', 'model_name')
|
||||
|
||||
// Other specialized models
|
||||
quickRegister('nlf', 'LoadNLFModel', 'nlf_model')
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user