From 8be09ef677e760854e193b5157712a2cefb11b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C3=BCg?= Date: Tue, 10 Dec 2024 16:07:40 +0000 Subject: [PATCH] Update common/arg.cpp Co-authored-by: Xuan Son Nguyen --- common/arg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/arg.cpp b/common/arg.cpp index 8274358eb7291f..808ec1c3e65fca 100644 --- a/common/arg.cpp +++ b/common/arg.cpp @@ -1713,7 +1713,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex ).set_examples({LLAMA_EXAMPLE_SERVER}).set_env("LLAMA_ARG_STATIC_PATH")); add_opt(common_arg( {"--no-webui"}, - "Disable the Web UI (default: enabled)", + string_format("Disable the Web UI (default: %s)", params.webui ? "enabled" : "disabled"), [](common_params & params) { params.webui = false; }