From c00f45464052153127c96eda481cba70a42ed71d Mon Sep 17 00:00:00 2001 From: wzpan Date: Sun, 26 Mar 2023 21:48:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=90=8Eself.player=E5=8F=98=E4=B8=BANone?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot/Conversation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robot/Conversation.py b/robot/Conversation.py index 5c42286f..aff94954 100644 --- a/robot/Conversation.py +++ b/robot/Conversation.py @@ -86,7 +86,7 @@ def reInit(self): self.ai = AI.get_robot_by_slug(config.get("robot", "tuling")) self.tts = TTS.get_engine_by_slug(config.get("tts_engine", "baidu-tts")) self.nlu = NLU.get_engine_by_slug(config.get("nlu_engine", "unit")) - self.player = None + self.player = Player.SoxPlayer() self.brain = Brain(self) self.brain.printPlugins() except Exception as e: