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',