@@ -14,7 +14,7 @@ class Bridge(object): | |||||
self.btype={ | self.btype={ | ||||
"chat": const.CHATGPT, | "chat": const.CHATGPT, | ||||
"voice_to_text": conf().get("voice_to_text", "openai"), | "voice_to_text": conf().get("voice_to_text", "openai"), | ||||
"text_to_voice": conf().get("text_to_voice", "baidu") | |||||
"text_to_voice": conf().get("text_to_voice", "google") | |||||
} | } | ||||
model_type = conf().get("model") | model_type = conf().get("model") | ||||
if model_type in ["text-davinci-003"]: | if model_type in ["text-davinci-003"]: | ||||
@@ -12,4 +12,5 @@ SpeechRecognition>=3.10.0 | |||||
tiktoken>=0.3.2 | tiktoken>=0.3.2 | ||||
webuiapi>=0.6.2 | webuiapi>=0.6.2 | ||||
wechaty>=0.10.7 | wechaty>=0.10.7 | ||||
wechaty_puppet>=0.4.23 | |||||
wechaty_puppet>=0.4.23 | |||||
chardet>=5.1.0 |