Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
b743ac0e
Unverified
Commit
b743ac0e
authored
Sep 02, 2022
by
AUTOMATIC1111
Committed by
GitHub
Sep 02, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #50 from deggua/automatic_master
Fix for fill latent zeros/noise in masking mode
parents
7ec7a3b1
75fde6bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
webui.py
webui.py
+0
-1
No files found.
webui.py
View file @
b743ac0e
...
@@ -1578,7 +1578,6 @@ class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
...
@@ -1578,7 +1578,6 @@ class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
elif
self
.
inpainting_fill
==
3
:
elif
self
.
inpainting_fill
==
3
:
self
.
init_latent
=
self
.
init_latent
*
self
.
mask
self
.
init_latent
=
self
.
init_latent
*
self
.
mask
def
sample
(
self
,
x
,
conditioning
,
unconditional_conditioning
):
def
sample
(
self
,
x
,
conditioning
,
unconditional_conditioning
):
samples
=
self
.
sampler
.
sample_img2img
(
self
,
self
.
init_latent
,
x
,
conditioning
,
unconditional_conditioning
)
samples
=
self
.
sampler
.
sample_img2img
(
self
,
self
.
init_latent
,
x
,
conditioning
,
unconditional_conditioning
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment