Small fixes

This commit is contained in:
Michael Hansen
2023-12-12 12:15:12 -06:00
parent 8b6b6dfa58
commit c1ec5ace71
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -95,8 +95,9 @@ class LEDsEventHandler(AsyncEventHandler):
self.color(_YELLOW)
elif Detection.is_type(event.type):
self.color(_BLUE)
await asyncio.sleep(1.0) # show for 1 sec
elif VoiceStarted.is_type(event.type):
self.color(_WHITE)
self.color(_YELLOW)
elif Transcript.is_type(event.type):
self.color(_GREEN)
await asyncio.sleep(1.0) # show for 1 sec