...is this even working?
This commit is contained in:
parent
e6c54d4b56
commit
6148bf8e10
2 changed files with 3 additions and 1 deletions
|
@ -433,7 +433,7 @@
|
|||
src="js/ui/tool/generic.js?v=3e678e0"
|
||||
type="text/javascript"></script>
|
||||
|
||||
<script src="js/ui/tool/dream.js?v=6e62c85" type="text/javascript"></script>
|
||||
<script src="js/ui/tool/dream.js?v=eff91db" type="text/javascript"></script>
|
||||
<script
|
||||
src="js/ui/tool/maskbrush.js?v=d88810f"
|
||||
type="text/javascript"></script>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue