Skip to content

Commit

Permalink
Merge pull request AUTOMATIC1111#7568 from Klace/XYZ-ImageCFG
Browse files Browse the repository at this point in the history
Add Image CFG Scale to XYZ Grid
  • Loading branch information
AUTOMATIC1111 authored Feb 19, 2023
2 parents e0ced66 + 67303fd commit d99bd04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/xyz_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ def __init__(self, *args, **kwargs):
AxisOption("Steps", int, apply_field("steps")),
AxisOptionTxt2Img("Hires steps", int, apply_field("hr_second_pass_steps")),
AxisOption("CFG Scale", float, apply_field("cfg_scale")),
AxisOptionImg2Img("Image CFG Scale", float, apply_field("image_cfg_scale")),
AxisOption("Prompt S/R", str, apply_prompt, format_value=format_value),
AxisOption("Prompt order", str_permutations, apply_order, format_value=format_value_join_list),
AxisOptionTxt2Img("Sampler", str, apply_sampler, format_value=format_value, confirm=confirm_samplers, choices=lambda: [x.name for x in sd_samplers.samplers]),
Expand Down

0 comments on commit d99bd04

Please sign in to comment.