[yuyue] new

This commit is contained in:
IrvingGao 2024-06-14 14:57:22 +08:00
parent 3768bc76de
commit f427eb88a4
1 changed files with 4 additions and 3 deletions

View File

@ -50,12 +50,13 @@ if __name__ == '__main__':
player = 'maixsense'
elif board == 'orangepi':
keywords = ['hey google', '芭比', '哔卡', '刚木', '星云']
keywords = ['hey google']
# keywords = ['hey google', '芭比', '哔卡', '刚木', '星云']
keyword_paths = None
model_path = None
#
keyword_paths = ["models/芭比_zh_raspberry-pi_v3_0_0/芭比_zh_raspberry-pi_v3_0_0.ppn", 'models/哔卡_zh_raspberry-pi_v3_0_0/哔卡_zh_raspberry-pi_v3_0_0.ppn', 'models/刚木_zh_raspberry-pi_v3_0_0/刚木_zh_raspberry-pi_v3_0_0.ppn', 'models/星云_zh_raspberry-pi_v3_0_0/星云_zh_raspberry-pi_v3_0_0.ppn']
model_path = "models/porcupine_params_zh.pv"
# keyword_paths = ["models/芭比_zh_raspberry-pi_v3_0_0/芭比_zh_raspberry-pi_v3_0_0.ppn", 'models/哔卡_zh_raspberry-pi_v3_0_0/哔卡_zh_raspberry-pi_v3_0_0.ppn', 'models/刚木_zh_raspberry-pi_v3_0_0/刚木_zh_raspberry-pi_v3_0_0.ppn', 'models/星云_zh_raspberry-pi_v3_0_0/星云_zh_raspberry-pi_v3_0_0.ppn']
# model_path = "models/porcupine_params_zh.pv"
hd_trigger = 'button'