Araeynn commited on
Commit
a4710ba
·
verified ·
1 Parent(s): 64bfa78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ from diffusers import StableDiffusionXLImg2ImgPipeline
79
  from diffusers.utils import load_image
80
 
81
  pipe = StableDiffusionXLImg2ImgPipeline.from_pretrained(
82
- "stabilityai/stable-diffusion-xl-refiner-1.0", torch_dtype=torch.float32, variant="fp32", use_safetensors=True
83
  )
84
  pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
85
 
 
79
  from diffusers.utils import load_image
80
 
81
  pipe = StableDiffusionXLImg2ImgPipeline.from_pretrained(
82
+ "stabilityai/stable-diffusion-xl-refiner-1.0", torch_dtype=torch.float32, use_safetensors=True
83
  )
84
  pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
85