feat: new voice class pytts

This commit is contained in:
lanvent
2023-03-28 03:14:26 +08:00
parent 80bf6a0c7a
commit e78886fb35
6 changed files with 66 additions and 60 deletions

View File

@@ -47,8 +47,8 @@ available_setting = {
"speech_recognition": False, # 是否开启语音识别
"group_speech_recognition": False, # 是否开启群组语音识别
"voice_reply_voice": False, # 是否使用语音回复语音需要设置对应语音合成引擎的api key
"voice_to_text": "openai", # 语音识别引擎支持openaigoogle
"text_to_voice": "baidu", # 语音合成引擎支持baidugoogle
"voice_to_text": "openai", # 语音识别引擎支持openai,google
"text_to_voice": "baidu", # 语音合成引擎支持baidu,google,pytts(offline)
# baidu api的配置 使用百度语音识别和语音合成时需要
"baidu_app_id": "",