Skip to content

Commit

Permalink
typo fix - calculate_sigmas_scheduler (#2619)
Browse files Browse the repository at this point in the history
self.scheduler -> scheduler_name

Co-authored-by: Lt.Dr.Data <[email protected]>
  • Loading branch information
ltdrdata and Lt.Dr.Data authored Jan 23, 2024
1 parent f2d432f commit 05cd006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfy/samplers.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def calculate_sigmas_scheduler(model, scheduler_name, steps):
elif scheduler_name == "sgm_uniform":
sigmas = normal_scheduler(model, steps, sgm=True)
else:
print("error invalid scheduler", self.scheduler)
print("error invalid scheduler", scheduler_name)
return sigmas

def sampler_object(name):
Expand Down

0 comments on commit 05cd006

Please sign in to comment.