diff --git a/js/index.js b/js/index.js index 5ac6a77..dabd70e 100644 --- a/js/index.js +++ b/js/index.js @@ -103,7 +103,7 @@ var stableDiffusionData = { mask: "", init_images: [], inpaint_full_res: false, - inpainting_fill: 2, + inpainting_fill: 1, enable_hr: false, restore_faces: false, //firstphase_width: 0, diff --git a/js/ui/tool/dream.js b/js/ui/tool/dream.js index 732ea31..b01cfb5 100644 --- a/js/ui/tool/dream.js +++ b/js/ui/tool/dream.js @@ -991,7 +991,7 @@ const dream_img2img_callback = (bb, resolution, state) => { request.height = resolution.h; request.denoising_strength = state.denoisingStrength; - request.inpainting_fill = state.inpainting_fill; //let's see how this works //1; // For img2img use original + request.inpainting_fill = state.inpainting_fill ?? 1; //let's see how this works //1; // For img2img use original // Load prompt (maybe we should add some events so we don't have to do this) request.prompt = document.getElementById("prompt").value;