From a2ec1a063d38adbe80b1acbf709d8ca319f2f7ac Mon Sep 17 00:00:00 2001 From: zhayujie Date: Fri, 10 Nov 2023 17:16:15 +0800 Subject: [PATCH] fix: typo --- bridge/bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/bridge.py b/bridge/bridge.py index db59545..bceca10 100644 --- a/bridge/bridge.py +++ b/bridge/bridge.py @@ -29,7 +29,7 @@ class Bridge(object): self.btype["chat"] = const.XUNFEI if conf().get("use_linkai") and conf().get("linkai_api_key"): self.btype["chat"] = const.LINKAI - if not conf().get(":voice_to_text") or conf().get("voice_to_text") in ["openai"]: + if not conf().get("voice_to_text") or conf().get("voice_to_text") in ["openai"]: self.btype["voice_to_text"] = const.LINKAI if not conf().get("text_to_voice") or conf().get("text_to_voice") in ["openai", const.TTS_1, const.TTS_1_HD]: self.btype["text_to_voice"] = const.LINKAI