From c402867d45eb68d8e12c3b6be2e4a16fb3d9d9aa Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 24 Jul 2023 16:36:34 +0530 Subject: [PATCH] Hide the samplers that won't be supported in the new diffusers version --- ui/index.html | 1 - ui/media/js/parameters.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/index.html b/ui/index.html index ea244f93..b03e11d6 100644 --- a/ui/index.html +++ b/ui/index.html @@ -171,7 +171,6 @@ - diff --git a/ui/media/js/parameters.js b/ui/media/js/parameters.js index ded09206..461f71c2 100644 --- a/ui/media/js/parameters.js +++ b/ui/media/js/parameters.js @@ -446,7 +446,7 @@ async function getAppConfig() { document.querySelector("#tiling_container").style.display = "" document.querySelectorAll("#sampler_name option.k_diffusion-only").forEach((option) => { - option.disabled = true + option.style.display = "none" }) document.querySelector("#clip_skip_config").classList.remove("displayNone") document.querySelector("#embeddings-button").classList.remove("displayNone")