NyxKrage commited on
Commit
8599799
1 Parent(s): cbf6da2

Update index.html

Browse files
Files changed (1) hide show
  1. 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}`)