diff --git a/bridge/bridge.py b/bridge/bridge.py index 26d5440..5c8448e 100644 --- a/bridge/bridge.py +++ b/bridge/bridge.py @@ -14,7 +14,7 @@ class Bridge(object): self.btype={ "chat": const.CHATGPT, "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") if model_type in ["text-davinci-003"]: diff --git a/requirements.txt b/requirements.txt index ca08960..5cd0952 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,4 +12,5 @@ SpeechRecognition>=3.10.0 tiktoken>=0.3.2 webuiapi>=0.6.2 wechaty>=0.10.7 -wechaty_puppet>=0.4.23 \ No newline at end of file +wechaty_puppet>=0.4.23 +chardet>=5.1.0 \ No newline at end of file