Skip to content

Commit

Permalink
Add a debug log line when no text is detected
Browse files Browse the repository at this point in the history
  • Loading branch information
regularfry committed Apr 17, 2024
1 parent 243777b commit 88a7f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whisper_online_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def format_output_transcript(self,o):
print("%1.0f %1.0f %s" % (beg,end,o[2]),flush=True,file=sys.stderr)
return "%1.0f %1.0f %s" % (beg,end,o[2])
else:
# No text, so no output
logger.debug("No text in this segment")
return None

def send_result(self, o):
Expand Down

0 comments on commit 88a7f3a

Please sign in to comment.