Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: fix sanitaize

Faisal Amir5657b6d91736
diff --git a/web-app/src/routes/hub/index.tsx b/web-app/src/routes/hub/index.tsx
index 6adcc300f..e7e89490c 100644
--- a/web-app/src/routes/hub/index.tsx
+++ b/web-app/src/routes/hub/index.tsx
@@ -765,16 +765,12 @@ function Hub() {
onClick={() => {
addLocalDownloadingModel(
sanitizeModelId(
- sanitizeModelId(
- variant.model_id
- )
+ variant.model_id
)
)
pullModel(
sanitizeModelId(
- sanitizeModelId(
- variant.model_id
- )
+ variant.model_id
),
variant.path
)