Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -107,9 +107,9 @@
|
|
107 |
}
|
108 |
} catch {
|
109 |
try {
|
110 |
-
model_size = await fetch(
|
111 |
`https://huggingface.co/api/models/${hf_model}`
|
112 |
-
).then(r => r.json())["safetensors"]["total"]
|
113 |
if (isNaN(model_size)) {
|
114 |
throw new Error("no size in pytorch metadata")
|
115 |
}
|
|
|
107 |
}
|
108 |
} catch {
|
109 |
try {
|
110 |
+
model_size = (await fetch(
|
111 |
`https://huggingface.co/api/models/${hf_model}`
|
112 |
+
).then(r => r.json()))["safetensors"]["total"]
|
113 |
if (isNaN(model_size)) {
|
114 |
throw new Error("no size in pytorch metadata")
|
115 |
}
|