summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/mic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mic.py b/client/mic.py
index ae5642e..2a6fe4a 100644
--- a/client/mic.py
+++ b/client/mic.py
@@ -175,7 +175,7 @@ class Mic:
transcribed = self.passive_stt_engine.transcribe(
f, mode=TranscriptionMode.KEYWORD)
- if PERSONA in transcribed:
+ if any(PERSONA in phrase for phrase in transcribed):
return (THRESHOLD, PERSONA)
return (False, transcribed)