[feat] hf tts translation

This commit is contained in:
kwaroran
2023-11-28 03:36:08 +09:00
parent a6b11c22de
commit 6ae8264f8b
7 changed files with 36 additions and 5 deletions

View File

@@ -365,4 +365,10 @@ export async function decryptBuffer(data:Uint8Array, keys:string){
)
return result
}
export function getCurrentCharacter(){
const db = get(DataBase)
const selectedChar = get(selectedCharID)
return db.characters[selectedChar]
}