mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 17:29:22 +01:00
Improve a warning
This commit is contained in:
parent
3e0a9f9cdb
commit
d8a82d34ed
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user