mirror of
https://github.com/shirayu/whispering.git
synced 2025-05-06 07:14:42 +00:00
Improved time output
This commit is contained in:
parent
1165ad9f3a
commit
678aa92365
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def transcribe_from_mic(
|
|||
while True:
|
||||
segment = q.get()
|
||||
for chunk in wsp.transcribe(segment=segment):
|
||||
print(f"{chunk.start}->{chunk.end}\t{chunk.text}")
|
||||
print(f"{chunk.start:.2f}->{chunk.end:.2f}\t{chunk.text}")
|
||||
|
||||
|
||||
def get_opts() -> argparse.Namespace:
|
||||
|
|
Loading…
Reference in a new issue