From 486deb278cf04803ebd6926654f18d72123d60d5 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 19 Aug 2024 16:23:53 +0200 Subject: [PATCH] Fix buggy leftover of old attribute naming. --- stable.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stable.py b/stable.py index a80ca29..2321cde 100755 --- a/stable.py +++ b/stable.py @@ -54,8 +54,9 @@ def parse_args(): help='list options for -S available with chosen model') parsed_args = parser.parse_args() parser.set_defaults(model_path_prefix='') - if parsed_args.copy_params: - first_split = parsed_args.copy_params.split('; PROMPT: ', maxsplit=1) + if parsed_args.defaults_from_params_string: + first_split = parsed_args.\ + defaults_from_params_string.split('; PROMPT: ', maxsplit=1) if 2 == len(first_split): parser.set_defaults(prompt=first_split[1]) for section in first_split[0].split('; '): -- 2.30.2