[feat] hf tts translation
This commit is contained in:
@@ -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]
|
||||
}
|
||||
Reference in New Issue
Block a user