Merge pull request #148 from zero01101/testing
tiny but very vital fix for inpainting
This commit is contained in:
commit
15395d899d
3 changed files with 4 additions and 4 deletions
|
@ -340,7 +340,7 @@
|
|||
|
||||
<!-- Content -->
|
||||
<script src="js/prompt.js?v=7a1c68c" type="text/javascript"></script>
|
||||
<script src="js/index.js?v=adcbc46" type="text/javascript"></script>
|
||||
<script src="js/index.js?v=1fba031" type="text/javascript"></script>
|
||||
|
||||
<script
|
||||
src="js/ui/floating/history.js?v=fc92d14"
|
||||
|
@ -354,7 +354,7 @@
|
|||
src="js/ui/tool/generic.js?v=2bcd36d"
|
||||
type="text/javascript"></script>
|
||||
|
||||
<script src="js/ui/tool/dream.js?v=f64fe58" type="text/javascript"></script>
|
||||
<script src="js/ui/tool/dream.js?v=0e12874" type="text/javascript"></script>
|
||||
<script
|
||||
src="js/ui/tool/maskbrush.js?v=1e8a893"
|
||||
type="text/javascript"></script>
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue