Skip to content

Commit

Permalink
fix(backend): add refiner to single-file load_classes
Browse files Browse the repository at this point in the history
Fixes single-file refiner loading.
  • Loading branch information
psychedelicious committed Jul 25, 2024
1 parent b70ac88 commit 9c8853f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ def _load_from_singlefile(
ModelVariantType.Normal: StableDiffusionXLPipeline,
ModelVariantType.Inpaint: StableDiffusionXLInpaintPipeline,
},
BaseModelType.StableDiffusionXLRefiner: {
ModelVariantType.Normal: StableDiffusionXLPipeline,
},
}
assert isinstance(config, MainCheckpointConfig)
try:
Expand Down

0 comments on commit 9c8853f

Please sign in to comment.