From d6f4796c35f0b315f7ca54c3dc143da5300c9a53 Mon Sep 17 00:00:00 2001 From: Thomas Mello Date: Sun, 11 Sep 2022 01:52:51 +0300 Subject: [PATCH] fix: sampler name in GoBig #988 --- scripts/webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/webui.py b/scripts/webui.py index 35548b1..91d1b54 100644 --- a/scripts/webui.py +++ b/scripts/webui.py @@ -1779,7 +1779,7 @@ def imgproc(image,image_batch,imgproc_prompt,imgproc_toggles, imgproc_upscale_to elif sampler_name == 'k_dpm_2_a': sampler = KDiffusionSampler(model,'dpm_2_ancestral') elif sampler_name == 'k_dpm_2': - sampler_name = KDiffusionSampler(model,'dpm_2') + sampler = KDiffusionSampler(model,'dpm_2') elif sampler_name == 'k_euler_a': sampler = KDiffusionSampler(model,'euler_ancestral') elif sampler_name == 'k_euler':