From 120aaff36ad05b8ed1b245fce49860180b865b70 Mon Sep 17 00:00:00 2001 From: Chris Griffing Date: Sat, 1 Jun 2024 17:26:07 -0700 Subject: [PATCH] fix: update where the models come from --- src/utils/model-data.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/utils/model-data.ts b/src/utils/model-data.ts index cdcc90b..f0327cd 100644 --- a/src/utils/model-data.ts +++ b/src/utils/model-data.ts @@ -7,8 +7,9 @@ const dbName = "whisperModels"; // const modelBaseUrl = "/models"; // remote // const modelBaseUrl = "https://f002.backblazeb2.com/file/orderly-models"; // NO CORS -const modelBaseUrl = - "https://link.storjshare.io/s/jueavj4qtolpgszkbp5awref22da/models"; +// const modelBaseUrl = +// "https://link.storjshare.io/s/jueavj4qtolpgszkbp5awref22da/models"; // TRIAL EXPIRED +const modelBaseUrl = "https://orderly-models.cmgriffing.com"; // TODO: this method seems to leak memory when changing models export function loadOrGetModel( @@ -83,7 +84,7 @@ export function loadOrGetModel( return; } - const url = `${modelBaseUrl}/${selectedModel}.bin?download=1`; + const url = `${modelBaseUrl}/${selectedModel}.bin`; fetchRemote(url, (progress) => { progressCallback(progress);