Spaces:
Running
on
Zero
Running
on
Zero
Update feifeilib/feifeimodload.py
Browse files
feifeilib/feifeimodload.py
CHANGED
@@ -13,7 +13,7 @@ def feifeimodload():
|
|
13 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
14 |
|
15 |
pipe = DiffusionPipeline.from_pretrained(
|
16 |
-
"aifeifei798/DarkIdol-flux-v1
|
17 |
).to(device)
|
18 |
|
19 |
pipe.load_lora_weights(
|
|
|
13 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
14 |
|
15 |
pipe = DiffusionPipeline.from_pretrained(
|
16 |
+
"aifeifei798/DarkIdol-flux-v1", torch_dtype=dtype
|
17 |
).to(device)
|
18 |
|
19 |
pipe.load_lora_weights(
|