fix: 13 foundational examples now push frames from TranscriptionLogger

This commit is contained in:
Mark Backman
2025-09-10 10:40:10 -04:00
parent 38f6e33f97
commit f4938e0fad
12 changed files with 36 additions and 0 deletions

View File

@@ -40,6 +40,9 @@ class TranscriptionLogger(FrameProcessor):
elif isinstance(frame, TranslationFrame):
print(f"Translation ({frame.language}): {frame.text}")
# Push all frames through
await self.push_frame(frame, direction)
# We store functions so objects (e.g. SileroVADAnalyzer) don't get
# instantiated. The function will be called when the desired transport gets