Skip to content

Commit bc0cd0c

Browse files
Update examples/community/README.md
Co-authored-by: Patrick von Platen <[email protected]>
1 parent ace5c2d commit bc0cd0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/community/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ pipe = DiffusionPipeline.from_pretrained(
390390
"CompVis/stable-diffusion-v1-4",
391391
use_auth_token=True,
392392
custom_pipeline="imagic_stable_diffusion",
393-
scheduler = DDIMScheduler(beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", clip_sample=False, set_alpha_to_one=False)
393+
scheduler = DDIMScheduler.from_pretrained("CompVis/stable-diffusion-v1-4", subfolder="scheduler")
394394
).to(device)
395395

396396
generator = th.Generator("cuda").manual_seed(0)

0 commit comments

Comments
 (0)