Skip to content

Commit b2c404a

Browse files
committed
1. 更新snowboy唤醒引擎参数设置
1 parent 345bb88 commit b2c404a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/snowboy/snowboydecoder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def __init__(self, decoder_model,
9191
resource_filename=resource.encode(), model_str=model_str.encode())
9292
self.detector.SetAudioGain(audio_gain)
9393
self.num_hotwords = self.detector.NumHotwords()
94+
self.detector.ApplyFrontend(True)
9495

9596
if len(decoder_model) > 1 and len(sensitivity) == 1:
9697
sensitivity = sensitivity*self.num_hotwords

0 commit comments

Comments
 (0)