diff --git a/client/stt.py b/client/stt.py index b3fa940..53bcc3e 100644 --- a/client/stt.py +++ b/client/stt.py @@ -365,7 +365,7 @@ def transcribe(self, fp): fp.seek(44) data = fp.read() ans = self.detector.RunDetection(data) - if ans: + if ans > 0: self._logger.info('Transcribed: %r', self.hotword) return [self.hotword] else: