Skip to content

Commit

Permalink
Fix StableDiffusionXLImg2ImgPipeline creation in sdxl tutorial (hug…
Browse files Browse the repository at this point in the history
…gingface#5367)

fix: StableDiffusionXLImg2ImgPipeline creation in sdxl tutorial
  • Loading branch information
soumik12345 authored and Jimmy committed Apr 26, 2024
1 parent 5d624fd commit 5f7dc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/using-diffusers/sdxl.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pipeline = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, variant="fp16", use_safetensors=True
).to("cuda")

refiner = StableDiffusionXLImg2ImgPipeline.from_single_file(
refiner = StableDiffusionXLImg2ImgPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-refiner-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16"
).to("cuda")
```
Expand Down

0 comments on commit 5f7dc08

Please sign in to comment.