mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-06-02 01:22:11 +08:00
Merge 5d2475ef8052bb76747954461c2e01495db8dcd5 into d8e5662822168101afb5e08a8ba75b6eefff6e02
This commit is contained in:
commit
24bfa2b2b2
@ -344,7 +344,7 @@ def model_wrapper(
|
||||
noise_uncond, noise = noise_pred_fn(x_in, t_in, cond=c_in).chunk(2)
|
||||
return noise_uncond + guidance_scale * (noise - noise_uncond)
|
||||
|
||||
assert model_type in ["noise", "x_start", "v"]
|
||||
assert model_type in ["noise", "x_start", "v", "score"]
|
||||
assert guidance_type in ["uncond", "classifier", "classifier-free"]
|
||||
return model_fn
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user