forked from extern/easydiffusion
fix
This commit is contained in:
parent
4f799a2bf0
commit
e349fb1a23
@ -2063,8 +2063,8 @@ promptField.focus()
|
|||||||
promptField.selectionStart = promptField.value.length
|
promptField.selectionStart = promptField.value.length
|
||||||
|
|
||||||
// use gfpgan as the default model for face restoration
|
// use gfpgan as the default model for face restoration
|
||||||
document.addEventListener("refreshModels", function() {
|
// document.addEventListener("refreshModels", function() {
|
||||||
let gfpganIdx = gfpganModelField.inputModels.findIndex((e) => e.toLowerCase().startsWith("gfpgan"))
|
// let gfpganIdx = gfpganModelField.inputModels.findIndex((e) => e.toLowerCase().startsWith("gfpgan"))
|
||||||
let gfpganElem = gfpganModelField.modelElements[gfpganIdx]
|
// let gfpganElem = gfpganModelField.modelElements[gfpganIdx]
|
||||||
gfpganModelField.selectModelEntry(gfpganElem)
|
// gfpganModelField.selectModelEntry(gfpganElem)
|
||||||
})
|
// })
|
||||||
|
Loading…
Reference in New Issue
Block a user