Skip to content

Commit

Permalink
move self.is_responding
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkennedy5 committed Apr 3, 2024
1 parent e815d48 commit 4394f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openduck-py/openduck_py/response_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,12 +425,12 @@ async def _generate_and_speak(
await db.commit()

async def start_response(self, transcription: str):
self.is_responding = True
try:
async with SessionAsync() as db:
t_0 = time()

print("TRANSCRIPTION: ", transcription, flush=True)
self.is_responding = True

t_asr = time()
await log_event(
Expand Down

0 comments on commit 4394f43

Please sign in to comment.