If you use the GUI to create the yaml file, it generates an axis using the shorthand form like this,
Prompt Replace 1: <lora_add_detail> = <lora:add_detail:0.0>,<lora:add_detail:0.25>,<lora:add_detail:0.5>
If you want to upgrade this to use a mapping so you can add labels, it's very tedious to manually convert it. I had to convert multiple axises so I could give the values proper names (to deal with what I wrote about here: #50 (comment)). Fortunately I came up with a regex to use with search & replace in a text editor that did most of the work. Unless I'm overlooking something simpler, this is what I needed so the axis had a name with labels for each value:
add_detail:
title: add_detail
values:
d0.0:
title: detail 0.0
params:
prompt replace: <lora_add_detail> = <lora:add_detail:0.0>
d0.25:
title: detail 0.25
params:
prompt replace: <lora_add_detail> = <lora:add_detail:0.25>
It'd be great if the GUI would output that form instead by default.
If you use the GUI to create the yaml file, it generates an axis using the shorthand form like this,
Prompt Replace 1: <lora_add_detail> = <lora:add_detail:0.0>,<lora:add_detail:0.25>,<lora:add_detail:0.5>If you want to upgrade this to use a mapping so you can add labels, it's very tedious to manually convert it. I had to convert multiple axises so I could give the values proper names (to deal with what I wrote about here: #50 (comment)). Fortunately I came up with a regex to use with search & replace in a text editor that did most of the work. Unless I'm overlooking something simpler, this is what I needed so the axis had a name with labels for each value:
It'd be great if the GUI would output that form instead by default.