diff --git a/index.html b/index.html index 0b38969..aa345dc 100644 --- a/index.html +++ b/index.html @@ -433,7 +433,7 @@ src="js/ui/tool/generic.js?v=3e678e0" type="text/javascript"> - + diff --git a/js/ui/tool/dream.js b/js/ui/tool/dream.js index 457d7f2..3f6055d 100644 --- a/js/ui/tool/dream.js +++ b/js/ui/tool/dream.js @@ -1049,6 +1049,7 @@ const dream_generate_callback = async (bb, resolution, state) => { ); request.mask = maskCanvas.toDataURL(); request.inpainting_fill = stableDiffusionData.outpainting_fill; + request.image_cfg_scale = stableDiffusionData.image_cfg_scale; // Dream _generate("img2img", request, bb, { @@ -1129,6 +1130,7 @@ const dream_img2img_callback = (bb, resolution, state) => { request.denoising_strength = state.denoisingStrength; request.inpainting_fill = state.inpainting_fill ?? 1; //let's see how this works //1; // For img2img use original + request.image_cfg_scale = state.image_cfg_scale ?? 0.5; // what am i even doing // Load prompt (maybe we should add some events so we don't have to do this) request.prompt = document.getElementById("prompt").value;