Skip to content

Commit

Permalink
logger .2f to .3f
Browse files Browse the repository at this point in the history
  • Loading branch information
78 committed Oct 3, 2024
1 parent bd15b63 commit 58c4d8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asr-worker/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ def on_audio_frame(self, frame):
self.fast_reply_checked = True
self.content = self.generate_text()
if self.is_question():
logging.info(f'Fast reply detected: {self.content} (time: {time.time() - start_time:.2f}s)')
logging.info(f'Fast reply detected: {self.content} (time: {time.time() - start_time:.3f}s)')
self.reply()
return

if silence_duration >= self.reply_silence_duration:
start_time = time.time()
self.content = self.generate_text()
logging.info(f'Silence detected: {self.content} (time: {time.time() - start_time:.2f}s)')
logging.info(f'Silence detected: {self.content} (time: {time.time() - start_time:.3f}s)')
self.reply()
return

Expand Down

0 comments on commit 58c4d8a

Please sign in to comment.