[feat] oai tts
This commit is contained in:
@@ -155,8 +155,5 @@ export async function translateVox(text:string) {
|
||||
|
||||
|
||||
async function jaTrans(text:string) {
|
||||
if(/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/.test(text)){
|
||||
return text
|
||||
}
|
||||
return await runTranslator(text,false, 'en','ja')
|
||||
}
|
||||
Reference in New Issue
Block a user