mirror of
https://github.com/shirayu/whispering.git
synced 2025-02-19 20:06:18 +00:00
Add messages
This commit is contained in:
parent
6e0d62d9e2
commit
1ba8536fba
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ def transcribe_from_mic(
|
||||||
if no_progress:
|
if no_progress:
|
||||||
segment = q.get()
|
segment = q.get()
|
||||||
else:
|
else:
|
||||||
pbar_thread = ProgressBar(num_block=num_block)
|
pbar_thread = ProgressBar(
|
||||||
|
num_block=num_block, # TODO: set more accurate value
|
||||||
|
)
|
||||||
try:
|
try:
|
||||||
segment = q.get()
|
segment = q.get()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
Loading…
Reference in a new issue