Skip to content

Commit

Permalink
ruff format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vargol authored and hipsterusername committed Jan 8, 2025
1 parent d8da9b4 commit 7ddc757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions invokeai/app/invocations/denoise_latents.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def get_scheduler(
scheduler_config["noise_sampler_seed"] = seed

if scheduler_class is DPMSolverMultistepScheduler or scheduler_class is DPMSolverSinglestepScheduler:
if scheduler_config['_class_name'] == 'DEISMultistepScheduler' and scheduler_config["algorithm_type"] == 'deis':
scheduler_config["algorithm_type"] = 'dpmsolver++'
if scheduler_config["_class_name"] == "DEISMultistepScheduler" and scheduler_config["algorithm_type"] == "deis":
scheduler_config["algorithm_type"] = "dpmsolver++"

scheduler = scheduler_class.from_config(scheduler_config)

Expand Down

0 comments on commit 7ddc757

Please sign in to comment.