MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / onFixFacesClick

Function onFixFacesClick

ui/media/js/main.js:1028–1033  ·  view source on GitHub ↗
(req, img, e, tools)

Source from the content-addressed store, hash-verified

1026}
1027
1028function onFixFacesClick(req, img, e, tools) {
1029 let path = gfpganModelField.value
1030 let filterName = path.toLowerCase().includes("gfpgan") ? "gfpgan" : "codeformer"
1031 let statusText = "Fixing faces with " + filterName
1032 applyInlineFilter(filterName, path, {}, img, statusText, tools)
1033}
1034
1035function onContinueDrawingClick(req, img) {
1036 enqueueImageVariationTask(req, img, {

Callers

nothing calls this directly

Calls 1

applyInlineFilterFunction · 0.85

Tested by

no test coverage detected