Update service worker and remote host URLs

This commit is contained in:
kwaroran
2024-01-06 19:10:21 +09:00
parent f4d6fcb38c
commit 497e0c6dfb
2 changed files with 5 additions and 2 deletions

View File

@@ -5,7 +5,6 @@ import { selectSingleFile } from 'src/ts/util';
import { v4 } from 'uuid';
env.localModelPath = "/transformers/"
env.remoteHost = "https://sv.risuai.xyz/transformers/"
export const runTransformers = async (baseText:string, model:string,config:TextGenerationConfig = {}) => {
let text = baseText