mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
add p to cfgdenoiserparams
This commit is contained in:
parent
2f98a35fc4
commit
425507bd10
2 changed files with 5 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ class ExtraNoiseParams:
|
|||
|
||||
|
||||
class CFGDenoiserParams:
|
||||
def __init__(self, x, image_cond, sigma, sampling_step, total_sampling_steps, text_cond, text_uncond):
|
||||
def __init__(self, x, image_cond, sigma, sampling_step, total_sampling_steps, text_cond, text_uncond, p):
|
||||
self.x = x
|
||||
"""Latent image representation in the process of being denoised"""
|
||||
|
||||
|
|
@ -63,6 +63,9 @@ class CFGDenoiserParams:
|
|||
self.text_uncond = text_uncond
|
||||
""" Encoder hidden states of text conditioning from negative prompt"""
|
||||
|
||||
self.p = p
|
||||
"""StableDiffusionProcessing object with processing parameters"""
|
||||
|
||||
|
||||
class CFGDenoisedParams:
|
||||
def __init__(self, x, sampling_step, total_sampling_steps, inner_model):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue