Skip to content

Commit 74cef38

Browse files
fix(backend): add refiner to single-file load_classes
Fixes single-file refiner loading.
1 parent bb876b8 commit 74cef38

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

invokeai/backend/model_manager/load/model_loaders/stable_diffusion.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ def _load_from_singlefile(
9898
ModelVariantType.Normal: StableDiffusionXLPipeline,
9999
ModelVariantType.Inpaint: StableDiffusionXLInpaintPipeline,
100100
},
101+
BaseModelType.StableDiffusionXLRefiner: {
102+
ModelVariantType.Normal: StableDiffusionXLPipeline,
103+
},
101104
}
102105
assert isinstance(config, MainCheckpointConfig)
103106
try:

0 commit comments

Comments
 (0)