services(whisper): add text logging

This commit is contained in:
Aleix Conchillo Flaqué
2024-06-07 13:10:45 -07:00
parent b4340d0185
commit 4b2a18837f

View File

@@ -86,4 +86,5 @@ class WhisperSTTService(STTService):
if text:
await self.stop_ttfb_metrics()
logger.debug(f"Transcription: [{text}]")
yield TranscriptionFrame(text, "", int(time.time_ns() / 1000000))