Spaces:
Running
Running
Upload index.html with huggingface_hub
Browse files- index.html +3 -1
index.html
CHANGED
|
@@ -37,7 +37,9 @@ let m = pick ? (MODELS.find((x) => new RegExp(pick, "i").test(x.name)) || MODELS
|
|
| 37 |
if (hf || kappa) {
|
| 38 |
const base = (kappa || `https://huggingface.co/${hf}/resolve/main`).replace(/\/+$/, "");
|
| 39 |
const bit = MODELS.find((x) => (x.fam || "").toLowerCase() === "bitnet") || m;
|
| 40 |
-
|
|
|
|
|
|
|
| 41 |
}
|
| 42 |
}
|
| 43 |
// ?stream=layer → page the model layer-by-layer instead of resident. For t2 (BitNet) this exercises the DRAFT
|
|
|
|
| 37 |
if (hf || kappa) {
|
| 38 |
const base = (kappa || `https://huggingface.co/${hf}/resolve/main`).replace(/\/+$/, "");
|
| 39 |
const bit = MODELS.find((x) => (x.fam || "").toLowerCase() === "bitnet") || m;
|
| 40 |
+
// drop the model's SHA-256 manifest pin: a ?hf repo may carry a different (e.g. BLAKE3) manifest, so the
|
| 41 |
+
// stale pin would falsely reject it. Per-block κ verification still applies (untrusted-CDN-safe).
|
| 42 |
+
m = { ...bit, kappaUrl: base, manifestKappa: undefined, name: bit.name + " · via " + (hf || new URL(base).host) };
|
| 43 |
}
|
| 44 |
}
|
| 45 |
// ?stream=layer → page the model layer-by-layer instead of resident. For t2 (BitNet) this exercises the DRAFT
|