Skip to content

Commit

Permalink
broaden regexp probe for SDXL VAEs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lincoln Stein committed Jun 20, 2024
1 parent 41b7e2a commit 86a7300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invokeai/backend/model_manager/probe.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def get_base_type(self) -> BaseModelType:
# VAEs of all base types have the same structure, so we wimp out and
# guess using the name.
for regexp, basetype in [
(r"sdxl", BaseModelType.StableDiffusionXL),
(r"xl", BaseModelType.StableDiffusionXL),
(r"sd2", BaseModelType.StableDiffusion2),
(r"vae", BaseModelType.StableDiffusion1),
]:
Expand Down

0 comments on commit 86a7300

Please sign in to comment.