Răsfoiți Sursa

fix: update requirement.txt

lanvent 3 ani în urmă
părinte
comite
8f07e6304a
2 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 1 1
      bridge/bridge.py
  2. 2 1
      requirements.txt

+ 1 - 1
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"]:

+ 2 - 1
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
+wechaty_puppet>=0.4.23
+chardet>=5.1.0