mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: 文字过长无法转换
This commit is contained in:
parent
0468da955c
commit
ac5b718531
1 changed files with 1 additions and 1 deletions
|
|
@ -554,7 +554,7 @@ export class chatgpt extends plugin {
|
|||
})
|
||||
}
|
||||
if (useTTS) {
|
||||
if (Config.ttsSpace) {
|
||||
if (Config.ttsSpace && response.length <= 99) {
|
||||
let wav = await generateAudio(response, speaker, '中文')
|
||||
e.reply(segment.record(wav))
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue