We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 143492f commit 9738483Copy full SHA for 9738483
apps/stable_diffusion/src/models/model_wrappers.py
@@ -93,6 +93,9 @@ def __init__(
93
), "checkpoint files supported can be any of [.ckpt, .safetensors] type"
94
custom_weights = get_path_to_diffusers_checkpoint(custom_weights)
95
self.model_id = model_id if custom_weights == "" else custom_weights
96
+ # TODO: remove the following line when stable-diffusion-2-1 works
97
+ if self.model_id == "stabilityai/stable-diffusion-2-1":
98
+ self.model_id = "stabilityai/stable-diffusion-2-1-base"
99
self.custom_vae = custom_vae
100
self.precision = precision
101
self.base_vae = use_base_vae
0 commit comments