Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nithinsubbiah committed Jul 23, 2024
1 parent 240f3c9 commit 709a7f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions models/turbine_models/custom_models/sd_inference/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,11 +524,11 @@ def get_schedulers(model_id):
model_id,
subfolder="scheduler",
)
schedulers[
"EulerAncestralDiscrete"
] = EulerAncestralDiscreteScheduler.from_pretrained(
model_id,
subfolder="scheduler",
schedulers["EulerAncestralDiscrete"] = (
EulerAncestralDiscreteScheduler.from_pretrained(
model_id,
subfolder="scheduler",
)
)
# schedulers["DPMSolverSDE"] = DPMSolverSDEScheduler.from_pretrained(
# model_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ def is_valid_file(arg):

p.add_argument(
"--add_tk_kernels",
type=bool,
default=False,
action="store_true",
help="Flag to add compiled tk kernels.",
)

Expand Down

0 comments on commit 709a7f4

Please sign in to comment.