From f8b5c70f405e2d61a9f49e2c791b18fff6237e37 Mon Sep 17 00:00:00 2001 From: Dariusz L Date: Sun, 26 Apr 2026 04:00:45 +0200 Subject: [PATCH] feat: show huggingface link --- web/linker.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/linker.js b/web/linker.js index 605088d..c098017 100644 --- a/web/linker.js +++ b/web/linker.js @@ -6358,7 +6358,11 @@ class LinkerManagerDialog extends ComfyDialog { // HuggingFace result if (hfResult && hfResult.url) { const hfRepo = hfResult.repo_id || hfResult.repo || ''; - const actionHtml = ``; + const hfModelUrl = hfRepo ? `https://huggingface.co/${hfRepo}` : this.getModelCardUrl(hfResult.url); + let actionHtml = ``; + if (hfModelUrl) { + actionHtml += `Open on HuggingFace`; + } html += this.renderOnlineSearchResultCard({ statusClass: 'ml-status-info', title: 'Found on HuggingFace',