Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
fix: duplicate HF search results
Louisda08becd938a
diff --git a/web-app/src/routes/hub/index.tsx b/web-app/src/routes/hub/index.tsxindex 7ee5d0799..5935d4538 100644--- a/web-app/src/routes/hub/index.tsx+++ b/web-app/src/routes/hub/index.tsx@@ -194,7 +194,11 @@ function Hub() {if (repoInfo) {const catalogModel = convertHfRepoToCatalogModel(repoInfo)if (- !sources.some((s) => s.model_name === catalogModel.model_name)+ !sources.some(+ (s) =>+ catalogModel.model_name.trim().split('/').pop() ===+ s.model_name.trim()+ )) {setHuggingFaceRepo(catalogModel)}