change default model to tiny, and vad activated by default
Browse files
whisper_streaming_custom/whisper_online.py
CHANGED
|
@@ -77,7 +77,7 @@ def add_shared_args(parser):
|
|
| 77 |
parser.add_argument(
|
| 78 |
"--model",
|
| 79 |
type=str,
|
| 80 |
-
default="
|
| 81 |
choices="tiny.en,tiny,base.en,base,small.en,small,medium.en,medium,large-v1,large-v2,large-v3,large,large-v3-turbo".split(
|
| 82 |
","
|
| 83 |
),
|
|
@@ -128,7 +128,7 @@ def add_shared_args(parser):
|
|
| 128 |
parser.add_argument(
|
| 129 |
"--vad",
|
| 130 |
action="store_true",
|
| 131 |
-
default=
|
| 132 |
help="Use VAD = voice activity detection, with the default parameters.",
|
| 133 |
)
|
| 134 |
parser.add_argument(
|
|
|
|
| 77 |
parser.add_argument(
|
| 78 |
"--model",
|
| 79 |
type=str,
|
| 80 |
+
default="tiny",
|
| 81 |
choices="tiny.en,tiny,base.en,base,small.en,small,medium.en,medium,large-v1,large-v2,large-v3,large,large-v3-turbo".split(
|
| 82 |
","
|
| 83 |
),
|
|
|
|
| 128 |
parser.add_argument(
|
| 129 |
"--vad",
|
| 130 |
action="store_true",
|
| 131 |
+
default=True,
|
| 132 |
help="Use VAD = voice activity detection, with the default parameters.",
|
| 133 |
)
|
| 134 |
parser.add_argument(
|