Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -172,7 +172,7 @@
|
|
| 172 |
|
| 173 |
async function calculateSizes(format) {
|
| 174 |
try {
|
| 175 |
-
const model_config = await modelConfig(document.getElementById("modelsearch").value, document.getElementById("hf_token").value)
|
| 176 |
const context = parseInt(document.getElementById("contextsize").value)
|
| 177 |
let bsz = 512
|
| 178 |
let cache_bit = 16
|
|
|
|
| 172 |
|
| 173 |
async function calculateSizes(format) {
|
| 174 |
try {
|
| 175 |
+
const model_config = await modelConfig(document.getElementById("modelsearch").value.replace("https://huggingface.co/", ""), document.getElementById("hf_token").value)
|
| 176 |
const context = parseInt(document.getElementById("contextsize").value)
|
| 177 |
let bsz = 512
|
| 178 |
let cache_bit = 16
|