Remove logs
This commit is contained in:
@@ -79,7 +79,6 @@ class TranscriptionMuteProcessor(FrameProcessor):
|
|||||||
await super().process_frame(frame, direction)
|
await super().process_frame(frame, direction)
|
||||||
|
|
||||||
if isinstance(frame, STTMuteFrame):
|
if isinstance(frame, STTMuteFrame):
|
||||||
logger.debug(f"TranscriptionMuteProcessor: Mute state: {frame.mute}")
|
|
||||||
self._is_muted = frame.mute
|
self._is_muted = frame.mute
|
||||||
|
|
||||||
frame = RTVIServerMessageFrame(
|
frame = RTVIServerMessageFrame(
|
||||||
@@ -100,13 +99,10 @@ class TranscriptionMuteProcessor(FrameProcessor):
|
|||||||
if not self._is_muted:
|
if not self._is_muted:
|
||||||
await self.push_frame(frame, direction)
|
await self.push_frame(frame, direction)
|
||||||
else:
|
else:
|
||||||
logger.debug(
|
logger.trace(
|
||||||
f"{frame.__class__.__name__} suppressed - Transcription STT currently muted"
|
f"{frame.__class__.__name__} suppressed - Transcription STT currently muted"
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
# Pass all other frames through
|
|
||||||
if not isinstance(frame, BotSpeakingFrame):
|
|
||||||
logger.debug(f"+++ TranscriptionMuteProcessor pushing: {frame}")
|
|
||||||
await self.push_frame(frame, direction)
|
await self.push_frame(frame, direction)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user