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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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"):