1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Fix SD example typo

This commit is contained in:
Anton Lozhkov
2022-08-22 09:25:55 +02:00
committed by GitHub
parent 21ceda3f6c
commit 62b3efe351

View File

@@ -56,7 +56,7 @@ pipe = StableDiffusionPipeline.from_pretrained(
"CompVis/stable-diffusion-v1-3",
scheduler=lms,
use_auth_token=True
) .to("cuda")
).to("cuda")
prompt = "a photo of an astronaut riding a horse on mars"
with autocast("cuda"):