mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
feat: add options to set voice bot
This commit is contained in:
@@ -13,8 +13,8 @@ class Bridge(object):
|
||||
def __init__(self):
|
||||
self.btype={
|
||||
"chat": const.CHATGPT,
|
||||
"voice_to_text": "openai",
|
||||
"text_to_voice": "baidu"
|
||||
"voice_to_text": conf().get("voice_to_text", "openai"),
|
||||
"text_to_voice": conf().get("text_to_voice", "baidu")
|
||||
}
|
||||
model_type = conf().get("model")
|
||||
if model_type in ["text-davinci-003"]:
|
||||
|
||||
Reference in New Issue
Block a user