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 2a2e460 commit 596499aCopy full SHA for 596499a
apps/stable_diffusion/src/utils/utils.py
@@ -244,11 +244,7 @@ def set_init_device_flags():
244
base_model_id = fetch_and_update_base_model_id(args.ckpt_loc)
245
246
if (
247
- args.hf_model_id
248
- in [
249
- "runwayml/stable-diffusion-inpainting",
250
- "stabilityai/stable-diffusion-2-inpainting",
251
- ]
+ "inpainting" in args.hf_model_id
252
or args.precision != "fp16"
253
or args.height != 512
254
or args.width != 512
0 commit comments