mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(backend): add refiner to single-file load_classes
Fixes single-file refiner loading.
This commit is contained in:
parent
bb876b8d4e
commit
74cef38bcf
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user