Initialize STT and start listening to the microphone.
(self)
| 149 | return max(0, min(idx, voice_count - 1)) |
| 150 | |
| 151 | def initialize_stt(self): |
| 152 | """Initialize STT and start listening to the microphone.""" |
| 153 | if self.stt is not None: |
| 154 | return |
| 155 | animate_thinking("Initializing speech recognition...", color="status") |
| 156 | self.stt = Speech2Text(lang="en-us") |
| 157 | self.stt.start_listening() |
| 158 | |
| 159 | def emit_status(self): |
| 160 | """Print the current status of agenticSeek.""" |
no test coverage detected