Spaces:
Running
on
Zero
Running
on
Zero
Upload genimage.py
Browse files- 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="
|
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)
|