mirror of
https://github.com/shirayu/whispering.git
synced 2024-11-25 10:21:00 +00:00
Make the default value of -n 20
This commit is contained in:
parent
3221153415
commit
c435d50681
2 changed files with 4 additions and 1 deletions
|
@ -45,6 +45,9 @@ However, this may sacrifice the accuracy.
|
|||
whispering --language en --model tiny -n 20 --allow-padding
|
||||
```
|
||||
|
||||
Without ``--allow-padding``, whispering just performs VAD for the period,
|
||||
and when it is predicted as "silence", it will not be passed to whisper.
|
||||
|
||||
## Example of web socket
|
||||
|
||||
⚠ **No security mechanism. Please make secure with your responsibility.**
|
||||
|
|
|
@ -158,7 +158,7 @@ def get_opts() -> argparse.Namespace:
|
|||
"--num_block",
|
||||
"-n",
|
||||
type=int,
|
||||
default=160,
|
||||
default=20,
|
||||
help="Number of operation unit",
|
||||
)
|
||||
group_misc.add_argument(
|
||||
|
|
Loading…
Reference in a new issue