mirror of
https://github.com/Stability-AI/stablediffusion.git
synced 2024-12-22 23:55:00 +00:00
Reformatting
This commit is contained in:
parent
a523e6b9c1
commit
a825f77092
1 changed files with 4 additions and 4 deletions
|
@ -522,15 +522,15 @@ class DPM_Solver:
|
|||
if order == 3:
|
||||
K = steps // 3 + 1
|
||||
if steps % 3 == 0:
|
||||
orders = [3,] * (
|
||||
orders = [3, ] * (
|
||||
K - 2
|
||||
) + [2, 1]
|
||||
elif steps % 3 == 1:
|
||||
orders = [3,] * (
|
||||
orders = [3, ] * (
|
||||
K - 1
|
||||
) + [1]
|
||||
else:
|
||||
orders = [3,] * (
|
||||
orders = [3, ] * (
|
||||
K - 1
|
||||
) + [2]
|
||||
elif order == 2:
|
||||
|
@ -541,7 +541,7 @@ class DPM_Solver:
|
|||
] * K
|
||||
else:
|
||||
K = steps // 2 + 1
|
||||
orders = [2,] * (
|
||||
orders = [2, ] * (
|
||||
K - 1
|
||||
) + [1]
|
||||
elif order == 1:
|
||||
|
|
Loading…
Reference in a new issue