Make the default value of -n 20

This commit is contained in:
Yuta Hayashibe 2022-10-02 22:55:13 +09:00
parent 3221153415
commit c435d50681
2 changed files with 4 additions and 1 deletions

View file

@ -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.**

View file

@ -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(