Skip to content

Commit e7ce08c

Browse files
hipsterusernamepsychedelicious
authored andcommitted
ruff format
1 parent 983cb5e commit e7ce08c

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

invokeai/backend/flux/util.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,22 @@ class ModelSpec:
2121
# Preferred resolutions for Kontext models to avoid tiling artifacts
2222
# These are the specific resolutions the model was trained on
2323
PREFERED_KONTEXT_RESOLUTIONS = [
24-
(672, 1568), (688, 1504), (720, 1456), (752, 1392),
25-
(800, 1328), (832, 1248), (880, 1184), (944, 1104),
26-
(1024, 1024), (1104, 944), (1184, 880), (1248, 832),
27-
(1328, 800), (1392, 752), (1456, 720), (1504, 688),
24+
(672, 1568),
25+
(688, 1504),
26+
(720, 1456),
27+
(752, 1392),
28+
(800, 1328),
29+
(832, 1248),
30+
(880, 1184),
31+
(944, 1104),
32+
(1024, 1024),
33+
(1104, 944),
34+
(1184, 880),
35+
(1248, 832),
36+
(1328, 800),
37+
(1392, 752),
38+
(1456, 720),
39+
(1504, 688),
2840
(1568, 672),
2941
]
3042

0 commit comments

Comments
 (0)