From a178ed5c22f6f2f02684b5c2df56335ef3f1e936 Mon Sep 17 00:00:00 2001 From: notV3NOM <123deeznuts456789@gmail.com> Date: Sat, 6 Sep 2025 18:18:09 +0530 Subject: [PATCH] fix simulstreaming preload model count argument in cli --- README.md | 2 +- whisperlivekit/parse_args.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b60a8e5..aca95a4 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ The rest I don't recommend. But below are your options. | `--static-init-prompt` | Static prompt that doesn't scroll | `None` | | `--max-context-tokens` | Maximum context tokens | `None` | | `--model-path` | Direct path to .pt model file. Download it if not found | `./base.pt` | -| `--preloaded-model-count` | Optional. Number of models to preload in memory to speed up loading (set up to the expected number of concurrent users) | `1` | +| `--preload-model-count` | Optional. Number of models to preload in memory to speed up loading (set up to the expected number of concurrent users) | `1` | | WhisperStreaming backend options | Description | Default | diff --git a/whisperlivekit/parse_args.py b/whisperlivekit/parse_args.py index 66a9f41..14a46b8 100644 --- a/whisperlivekit/parse_args.py +++ b/whisperlivekit/parse_args.py @@ -269,10 +269,10 @@ def parse_args(): ) simulstreaming_group.add_argument( - "--preloaded_model_count", + "--preload-model-count", type=int, default=1, - dest="preloaded_model_count", + dest="preload_model_count", help="Optional. Number of models to preload in memory to speed up loading (set up to the expected number of concurrent instances).", )