From c38187c095c633a8bb00fd276a5e57d1c7f6308d Mon Sep 17 00:00:00 2001 From: Gizex <49234898+Gizex@users.noreply.github.com> Date: Sat, 11 Feb 2023 16:41:07 +0300 Subject: [PATCH] add new samplers added new samplers, previously with DPM++ SDE Karras, DPM++ 2M Karras, DPM++ 2S a Karras the error appeared --- paste_this_to_webui_scripts_folder/prompt_gallery.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/paste_this_to_webui_scripts_folder/prompt_gallery.py b/paste_this_to_webui_scripts_folder/prompt_gallery.py index 1f09efb..c96a548 100644 --- a/paste_this_to_webui_scripts_folder/prompt_gallery.py +++ b/paste_this_to_webui_scripts_folder/prompt_gallery.py @@ -154,7 +154,10 @@ map_sampler_to_idx = { 'DPM2 Karras': 9, 'DPM2 a Karras': 10, 'DDIM': 11, - 'PLMS': 12} + 'PLMS': 12, + 'DPM++ 2S a Karras': 13, + 'DPM++ 2M Karras': 14, + 'DPM++ SDE Karras': 15} map_keys = { "value": "prompt", @@ -708,4 +711,4 @@ class Script(scripts.Script): rawDict = {} shared.opts = backup - return Processed(p, images, p.seed, "") \ No newline at end of file + return Processed(p, images, p.seed, "")