diff --git a/ui/media/js/main.js b/ui/media/js/main.js index 54e7042a..00a49d17 100644 --- a/ui/media/js/main.js +++ b/ui/media/js/main.js @@ -2063,8 +2063,8 @@ promptField.focus() promptField.selectionStart = promptField.value.length // use gfpgan as the default model for face restoration -document.addEventListener("refreshModels", function() { - let gfpganIdx = gfpganModelField.inputModels.findIndex((e) => e.toLowerCase().startsWith("gfpgan")) - let gfpganElem = gfpganModelField.modelElements[gfpganIdx] - gfpganModelField.selectModelEntry(gfpganElem) -}) +// document.addEventListener("refreshModels", function() { +// let gfpganIdx = gfpganModelField.inputModels.findIndex((e) => e.toLowerCase().startsWith("gfpgan")) +// let gfpganElem = gfpganModelField.modelElements[gfpganIdx] +// gfpganModelField.selectModelEntry(gfpganElem) +// })