Spaces:
Running
on
Zero
Running
on
Zero
aifeifei798
commited on
Commit
•
92b1ce2
1
Parent(s):
8d14306
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def feifeimodload():
|
|
17 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
18 |
|
19 |
pipe = DiffusionPipeline.from_pretrained(
|
20 |
-
"aifeifei798/DarkIdol-flux-v1
|
21 |
).to(device)
|
22 |
|
23 |
pipe.load_lora_weights(
|
|
|
17 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
18 |
|
19 |
pipe = DiffusionPipeline.from_pretrained(
|
20 |
+
"aifeifei798/DarkIdol-flux-v1", torch_dtype=dtype
|
21 |
).to(device)
|
22 |
|
23 |
pipe.load_lora_weights(
|