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:
Lincoln Wallace
2025-09-25 11:14:35 -03:00
committed by GitHub
parent 5e6be74f6d
commit 95a9b7ef05
+1 -1
View File
@@ -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/",