Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -74,7 +74,7 @@
|
|
74 |
model_size = (await fetch(`https://huggingface.co/${hf_model}/raw/main/model.safetensors.index.json`).then(r => r.json()))["metadata"]["total_size"] / 2
|
75 |
} catch (e) {
|
76 |
try {
|
77 |
-
model_size = await fetch(`https://huggingface.co/${hf_model}/raw/main/pytorch_model.bin.index.json`).then(r => r.json())["metadata"]["total_size"] / 2
|
78 |
} catch {
|
79 |
let model_page = await fetch(
|
80 |
"https://corsproxy.io/?" + encodeURIComponent(`https://huggingface.co/${hf_model}`)
|
|
|
74 |
model_size = (await fetch(`https://huggingface.co/${hf_model}/raw/main/model.safetensors.index.json`).then(r => r.json()))["metadata"]["total_size"] / 2
|
75 |
} catch (e) {
|
76 |
try {
|
77 |
+
model_size = (await fetch(`https://huggingface.co/${hf_model}/raw/main/pytorch_model.bin.index.json`).then(r => r.json()))["metadata"]["total_size"] / 2
|
78 |
} catch {
|
79 |
let model_page = await fetch(
|
80 |
"https://corsproxy.io/?" + encodeURIComponent(`https://huggingface.co/${hf_model}`)
|