mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 19:22:32 +00:00
fix img2img
This commit is contained in:
@@ -73,3 +73,6 @@ class SD3Inferencer(torch.nn.Module):
|
||||
(self, 'cond_stage_model'),
|
||||
(self, 'model'),
|
||||
]
|
||||
|
||||
def add_noise_to_latent(self, x, noise, amount):
|
||||
return x * (1 - amount) + noise * amount
|
||||
|
Reference in New Issue
Block a user