fix for finally clause

This commit is contained in:
Kwindla Hultman Kramer
2024-12-04 18:31:30 -08:00
parent 9c22f5b81b
commit a367a038f1
2 changed files with 10 additions and 4 deletions

View File

@@ -265,7 +265,7 @@ class TranscriptionContextFixup(FrameProcessor):
await super().process_frame(frame, direction)
if isinstance(frame, LLMDemoTranscriptionFrame):
logger.debug(f"TRANSCRIPTION FROM LLM: {frame.text}")
logger.info(f"Transcription from Gemini: {frame.text}")
self._transcript = frame.text
self.swap_user_audio()
self._transcript = ""