fix(run_server.py): help text for max_connection_time argument
The help text for `--max_connection_time` is incorrect. Looks like a copy-paste mistake from `--cache_path`.
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ if __name__ == "__main__":
|
|||||||
parser.add_argument('--max_connection_time',
|
parser.add_argument('--max_connection_time',
|
||||||
type=int,
|
type=int,
|
||||||
default=300,
|
default=300,
|
||||||
help='Path to cache the converted ctranslate2 models.')
|
help='The maximum duration (in seconds) a client can stay connected. Defaults to 300 seconds (5 minutes)')
|
||||||
parser.add_argument('--cache_path', '-c',
|
parser.add_argument('--cache_path', '-c',
|
||||||
type=str,
|
type=str,
|
||||||
default="~/.cache/whisper-live/",
|
default="~/.cache/whisper-live/",
|
||||||
|
|||||||
Reference in New Issue
Block a user