[picovoice] update model

This commit is contained in:
IrvingGao 2024-06-13 23:38:40 +08:00
parent ef9c53caf7
commit ad95460e7d
7 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1 @@
A copy of license terms is available at https://picovoice.ai/docs/terms-of-use/

View File

@ -0,0 +1 @@
A copy of license terms is available at https://picovoice.ai/docs/terms-of-use/

View File

@ -0,0 +1 @@
A copy of license terms is available at https://picovoice.ai/docs/terms-of-use/

View File

@ -49,10 +49,11 @@ if __name__ == '__main__':
player = 'maixsense'
elif board == 'orangepi':
keywords = ['hey google', 'ok 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"]
#
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'