mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
uodate:"logger中vad和asr动态变化"的补充
This commit is contained in:
parent
25ccf7fed3
commit
d3ba8d4385
1 changed files with 2 additions and 0 deletions
|
|
@ -425,10 +425,12 @@ class ConnectionHandler:
|
|||
init_asr = check_asr_update(self.common_config, private_config)
|
||||
|
||||
if init_vad:
|
||||
self.config["VAD"] = private_config["VAD"]
|
||||
self.config["selected_module"]["VAD"] = private_config["selected_module"][
|
||||
"VAD"
|
||||
]
|
||||
if init_asr:
|
||||
self.config["ASR"] = private_config["ASR"]
|
||||
self.config["selected_module"]["ASR"] = private_config["selected_module"][
|
||||
"ASR"
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue