From 6e2bda5cfb774962cb339a8e3332fc5cb2a9142d Mon Sep 17 00:00:00 2001 From: "dingfeng.wong" Date: Wed, 23 Jul 2025 11:23:14 +0800 Subject: [PATCH] c --- src/tooling/stt_cli.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tooling/stt_cli.py b/src/tooling/stt_cli.py index c616cfd..c0413ae 100644 --- a/src/tooling/stt_cli.py +++ b/src/tooling/stt_cli.py @@ -310,17 +310,23 @@ if RUMPS_AVAILABLE: def transcription_loop(self): """Main transcription loop running in background thread.""" + print("test1") while self.is_running and not self.stop_event.is_set(): + print("test2") try: if not self.is_paused and self.recorder: + print("test3") text = self.recorder.text() + print("test4") if text and text.strip(): + print("test5") self.on_transcription_complete(text) else: time.sleep(0.1) # Small delay when paused except Exception as e: print(f"Transcription error: {e}") time.sleep(1) # Longer delay on error + print("test") def on_realtime_transcription(self, text: str): """Handle real-time transcription updates."""