From d8a82d34ed1cf63f4190500bbbf478f8dd74d8f7 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 14 Aug 2023 08:45:58 -0700 Subject: [PATCH] Improve a warning --- modules/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shared.py b/modules/shared.py index e36e2437..a2ee0b91 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -184,7 +184,7 @@ args_defaults = parser.parse_args([]) # Deprecation warnings for k in ['chat', 'notebook', 'no_stream']: if getattr(args, k): - logger.warning(f'--{k} has been deprecated and will be removed soon. Please remove that flag.') + logger.warning(f'The --{k} flag has been deprecated and will be removed soon. Please remove that flag.') # Security warnings if args.trust_remote_code: