From: Christian Heller Date: Mon, 19 Aug 2024 14:23:53 +0000 (+0200) Subject: Fix buggy leftover of old attribute naming. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/index.html?a=commitdiff_plain;h=486deb278cf04803ebd6926654f18d72123d60d5;p=stable_plom Fix buggy leftover of old attribute naming. --- 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('; '):