mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
feat: 正式增加语音模式支持
This commit is contained in:
parent
41ca23dc85
commit
5ddeebfcc0
6 changed files with 124 additions and 25 deletions
|
|
@ -1,12 +1,13 @@
|
|||
import fs from 'fs'
|
||||
import lodash from 'lodash'
|
||||
import { execSync } from 'child_process'
|
||||
|
||||
const defaultConfig = {
|
||||
blockWords: ['屏蔽词1', '屏蔽词b'],
|
||||
promptBlockWords: ['屏蔽词1', '屏蔽词b'],
|
||||
imgOcr: true,
|
||||
defaultUsePicture: false,
|
||||
defaultUseTTS: false,
|
||||
defaultTTSRole: '纳西妲',
|
||||
autoUsePicture: true,
|
||||
autoUsePictureThreshold: 1200,
|
||||
conversationPreserveTime: 0,
|
||||
|
|
@ -43,7 +44,7 @@ const defaultConfig = {
|
|||
noiseScale: 0.6,
|
||||
noiseScaleW: 0.668,
|
||||
lengthScale: 1.2,
|
||||
version: 'v2.0.17'
|
||||
version: 'v2.0.18'
|
||||
}
|
||||
const _path = process.cwd()
|
||||
let config = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue