From 8f07e6304aefd6c30591004dec501cf054a10e14 Mon Sep 17 00:00:00 2001 From: lanvent Date: Tue, 28 Mar 2023 05:56:26 +0800 Subject: [PATCH] fix: update requirement.txt --- bridge/bridge.py | 2 +- requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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