Skip to content

Commit

Permalink
delete log
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkennedy5 committed Apr 4, 2024
1 parent d9db0ca commit 669c120
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions openduck-py/openduck_py/response_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,21 +332,9 @@ async def receive_audio(self, message: bytes):
if "start" in vad_result:
self.speech_has_started = True
print("Detected start of speech", flush=True)
# await log_event(
# db,
# self.session_id,
# "detected_start_of_speech",
# audio=audio_data,
# )
else:
self.speech_has_started = False
print("Detected end of speech", flush=True)
# await log_event(
# db,
# self.session_id,
# "detected_end_of_speech",
# audio=audio_data,
# )

if self.speech_has_started:
self.audio_data.append(audio_16k_np)
Expand Down

0 comments on commit 669c120

Please sign in to comment.