Merge pull request #2499 from dalgwen/dev

Enable snowboy to use several wakeword models
pull/2501/head
Kris Gesling 2020-03-12 10:01:48 +09:30 committed by GitHub
commit 054498dc11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ class SnowboyHotWord(HotWordEngine):
def found_wake_word(self, frame_data):
wake_word = self.snowboy.detector.RunDetection(frame_data)
return wake_word == 1
return wake_word >= 1
class PorcupineHotWord(HotWordEngine):