make style
This commit is contained in:
parent
e1bb8f6188
commit
8b7cb962a5
|
@ -18,7 +18,7 @@ class UnetSchedulerOneForwardPipeline(DiffusionPipeline):
|
|||
|
||||
model_output = self.unet(image, timestep).sample
|
||||
scheduler_output = self.scheduler.step(model_output, timestep, image).prev_sample
|
||||
|
||||
|
||||
result = scheduler_output - scheduler_output + torch.ones_like(scheduler_output)
|
||||
|
||||
return result
|
||||
|
|
Loading…
Reference in New Issue