fix(backend): add refiner to single-file load_classes

Fixes single-file refiner loading.
This commit is contained in:
psychedelicious 2024-07-25 19:01:17 +10:00
parent bb876b8d4e
commit 74cef38bcf

View File

@ -98,6 +98,9 @@ class StableDiffusionDiffusersModel(GenericDiffusersLoader):
ModelVariantType.Normal: StableDiffusionXLPipeline, ModelVariantType.Normal: StableDiffusionXLPipeline,
ModelVariantType.Inpaint: StableDiffusionXLInpaintPipeline, ModelVariantType.Inpaint: StableDiffusionXLInpaintPipeline,
}, },
BaseModelType.StableDiffusionXLRefiner: {
ModelVariantType.Normal: StableDiffusionXLPipeline,
},
} }
assert isinstance(config, MainCheckpointConfig) assert isinstance(config, MainCheckpointConfig)
try: try: