predictor is a better name

This commit is contained in:
layerdiffusion
2024-08-01 21:29:34 -07:00
parent bc9977a305
commit f6981339b0
10 changed files with 17 additions and 17 deletions

View File

@@ -108,7 +108,7 @@ def sampling_prepare(unet, x):
real_model = unet.model
percent_to_timestep_function = lambda p: real_model.prediction.percent_to_sigma(p)
percent_to_timestep_function = lambda p: real_model.predictor.percent_to_sigma(p)
for cnet in unet.list_controlnets():
cnet.pre_run(real_model, percent_to_timestep_function)