Skip to content

Commit

Permalink
typo in model baseline name (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
spinagon authored May 23, 2024
1 parent 55fae5b commit affbbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/apis/v2/stable.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def validate(self):
# QR-code pipeline cannot do batching currently
self.args["disable_batching"] = True
if not all(
model_reference.get_model_baseline(model_name) in ["stable_diffusion 1", "stable_diffusion_xl"]
model_reference.get_model_baseline(model_name) in ["stable diffusion 1", "stable_diffusion_xl"]
for model_name in self.args.models
):
raise e.BadRequest("QR Code controlnet only works with SD 1.5 models currently", rc="ControlNetMismatch.")
Expand Down

0 comments on commit affbbfd

Please sign in to comment.