John6666 commited on
Commit
48ccfbd
·
verified ·
1 Parent(s): 45c0511

Upload genimage.py

Browse files
Files changed (1) hide show
  1. genimage.py +1 -1
genimage.py CHANGED
@@ -7,7 +7,7 @@ def load_pipeline():
7
  device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
8
  pipe = AutoPipelineForText2Image.from_pretrained(
9
  "John6666/rae-diffusion-xl-v2-sdxl-spo-pcm",
10
- custom_pipeline="lpw_stable_diffusion_xl",
11
  torch_dtype=torch.float16,
12
  )
13
  pipe.to(device)
 
7
  device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
8
  pipe = AutoPipelineForText2Image.from_pretrained(
9
  "John6666/rae-diffusion-xl-v2-sdxl-spo-pcm",
10
+ custom_pipeline="lpw_stable_diffusion",
11
  torch_dtype=torch.float16,
12
  )
13
  pipe.to(device)