Remember the Face Fix and Codeformer settings in the UI

This commit is contained in:
cmdr2
2024-10-17 10:49:26 +05:30
parent 7e0d5893cd
commit d5edbfee8b
2 changed files with 7 additions and 0 deletions

View File

@ -1879,6 +1879,11 @@ controlImagePreview.addEventListener("load", onControlnetModelChange)
controlImagePreview.addEventListener("unload", onControlnetModelChange)
onControlnetModelChange()
document.addEventListener("refreshModels", function() {
onFixFaceModelChange()
onControlnetModelChange()
})
// tip for Flux
let sdModelField = document.querySelector("#stable_diffusion_model")
function checkGuidanceValue() {