mirror of
https://github.com/shirayu/whispering.git
synced 2024-11-25 18:31:00 +00:00
Moved
This commit is contained in:
parent
9d1ef4e0cf
commit
cc00c74280
1 changed files with 4 additions and 4 deletions
|
@ -144,6 +144,10 @@ def get_opts() -> argparse.Namespace:
|
||||||
"--allow-padding",
|
"--allow-padding",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
)
|
)
|
||||||
|
group_ctx.add_argument(
|
||||||
|
"--no-vad",
|
||||||
|
action="store_true",
|
||||||
|
)
|
||||||
|
|
||||||
group_misc = parser.add_argument_group("Other options")
|
group_misc = parser.add_argument_group("Other options")
|
||||||
group_misc.add_argument(
|
group_misc.add_argument(
|
||||||
|
@ -157,10 +161,6 @@ def get_opts() -> argparse.Namespace:
|
||||||
default=160,
|
default=160,
|
||||||
help="Number of operation unit",
|
help="Number of operation unit",
|
||||||
)
|
)
|
||||||
group_misc.add_argument(
|
|
||||||
"--no-vad",
|
|
||||||
action="store_true",
|
|
||||||
)
|
|
||||||
group_misc.add_argument(
|
group_misc.add_argument(
|
||||||
"--mode",
|
"--mode",
|
||||||
choices=[v.value for v in Mode],
|
choices=[v.value for v in Mode],
|
||||||
|
|
Loading…
Reference in a new issue