do not suppress stdout if debugmode

This commit is contained in:
Concedo 2024-10-04 16:04:29 +08:00
parent 2d57f80af9
commit d9fcb94472

View file

@ -3816,7 +3816,7 @@ def main(launch_args,start_server=True):
global libname, args, friendlymodelname, friendlysdmodelname, fullsdmodelpath, mmprojpath, password, fullwhispermodelpath
args = launch_args
if (args.model_param or args.model) and args.prompt and not args.benchmark:
if (args.model_param or args.model) and args.prompt and not args.benchmark and not (args.debugmode >= 1):
suppress_stdout()
print(f"***\nWelcome to KoboldCpp - Version {KcppVersion}") # just update version manually