From 79d49c5620ca2393fc683d036a0d5c00a5f09729 Mon Sep 17 00:00:00 2001 From: Belem Zhang Date: Wed, 11 Oct 2023 12:06:16 +0800 Subject: [PATCH] model path --- src/lib/assets/js/ort_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/assets/js/ort_utils.js b/src/lib/assets/js/ort_utils.js index 059c433..433ae64 100644 --- a/src/lib/assets/js/ort_utils.js +++ b/src/lib/assets/js/ort_utils.js @@ -107,7 +107,7 @@ const getUrlById = (id) => { for (let i = 0; i < models.length; i++) { if (models[i].id === id) { if (location.hostname.indexOf('github.io') > -1) { - return models[i].url.github; + return models[i].url.cf; } else { return `https://${localhost}/` + models[i].url.local; }