Update local model path to use remote URL

This commit is contained in:
kwaroran
2024-01-06 23:16:13 +09:00
parent 3a8b09586f
commit 4be7a6762c

View File

@@ -12,7 +12,7 @@ async function initTransformers(){
return
}
tfCache = await caches.open('transformers')
env.localModelPath = "/tf/"
env.localModelPath = "https://sv.risuai.xyz/transformers/"
env.useBrowserCache = false
env.useFSCache = false
env.useCustomCache = true