mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-01-28 17:18:39 +01:00
Remember the Face Fix and Codeformer settings in the UI
This commit is contained in:
parent
7e0d5893cd
commit
d5edbfee8b
@ -31,6 +31,8 @@ const SETTINGS_IDS_LIST = [
|
||||
"stream_image_progress",
|
||||
"use_face_correction",
|
||||
"gfpgan_model",
|
||||
"codeformer_fidelity",
|
||||
"codeformer_upscale_faces",
|
||||
"use_upscale",
|
||||
"upscale_amount",
|
||||
"latent_upscaler_steps",
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user