We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9cf8ee commit b77743bCopy full SHA for b77743b
Magic_AI_Storybook/listener.py
@@ -39,10 +39,8 @@ def listen(self, ready_callback=None):
39
if ready_callback:
40
ready_callback()
41
while (
42
- (self.listener_handle
43
- and not self.speech_waiting())
44
- or not self.phrase_complete
45
- ):
+ self.listener_handle and not self.speech_waiting()
+ ) or not self.phrase_complete:
46
if self.phrase_time and time.monotonic() > start + self.phrase_timeout:
47
self.last_sample = bytes()
48
self.phrase_complete = True
0 commit comments