This commit is contained in:
josc146
2023-11-12 11:22:50 +08:00
parent 25d148085f
commit b1de77bcb3
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -29,6 +29,8 @@ function ReadButton({ className, contentFn, size }) {
voice = voices.find((v) => v.name.toLowerCase().includes('microsoft aria'))
else if (config.preferredLanguage.includes('zh') || navigator.language.includes('zh'))
voice = voices.find((v) => v.name.toLowerCase().includes('xiaoyi'))
else if (config.preferredLanguage.includes('ja') || navigator.language.includes('ja'))
voice = voices.find((v) => v.name.toLowerCase().includes('nanami'))
if (!voice) voice = voices.find((v) => v.lang.substring(0, 2) === config.preferredLanguage)
if (!voice) voice = voices.find((v) => v.lang === navigator.language)
+2 -2
View File
@@ -180,8 +180,8 @@ export const defaultConfig = {
activeApiModes: [
// 'claude2Api',
'chatgptFree35',
'chatgptFree35Mobile',
// 'chatgptPlus4',
//'chatgptFree35Mobile',
'chatgptPlus4',
// 'chatgptPlus4Mobile',
'chatgptApi35',
'chatgptApi35_16k',