add transformers remoteHost again
This commit is contained in:
@@ -5,6 +5,7 @@ import { selectSingleFile } from 'src/ts/util';
|
|||||||
import { v4 } from 'uuid';
|
import { v4 } from 'uuid';
|
||||||
|
|
||||||
env.localModelPath = "/transformers/"
|
env.localModelPath = "/transformers/"
|
||||||
|
env.remoteHost = "https://sv.risuai.xyz/transformers/"
|
||||||
|
|
||||||
export const runTransformers = async (baseText:string, model:string,config:TextGenerationConfig = {}) => {
|
export const runTransformers = async (baseText:string, model:string,config:TextGenerationConfig = {}) => {
|
||||||
let text = baseText
|
let text = baseText
|
||||||
|
|||||||
Reference in New Issue
Block a user