diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-11-27 13:17:39 +0300 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-11-27 13:17:39 +0300 |
commit | 40ca34b837b5068ec35b8d5681bae32cf28f5816 (patch) | |
tree | 1d476c71fe106854502fe66b4ddf61158b7a9084 /modules/img2img.py | |
parent | 5b2c316890b7b8af95f0d0334d1fd34b9a687b99 (diff) |
fix for broken sampler selection in img2img and xy plot #4860 #4909
Diffstat (limited to 'modules/img2img.py')
-rw-r--r-- | modules/img2img.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/img2img.py b/modules/img2img.py index 9fc5b693..7e58994a 100644 --- a/modules/img2img.py +++ b/modules/img2img.py @@ -99,7 +99,7 @@ def img2img(mode: int, prompt: str, negative_prompt: str, prompt_style: str, pro seed_resize_from_h=seed_resize_from_h,
seed_resize_from_w=seed_resize_from_w,
seed_enable_extras=seed_enable_extras,
- sampler_index=sd_samplers.samplers_for_img2img[sampler_index].name,
+ sampler_name=sd_samplers.samplers_for_img2img[sampler_index].name,
batch_size=batch_size,
n_iter=n_iter,
steps=steps,
|