Spaces:
Running
on
Zero
Running
on
Zero
Update feifeilib/feifeimodload.py
Browse files
feifeilib/feifeimodload.py
CHANGED
@@ -20,7 +20,7 @@ def feifeimodload():
|
|
20 |
torch_dtype=torch.bfloat16
|
21 |
)
|
22 |
|
23 |
-
pipe =
|
24 |
"aifeifei798/DarkIdol-flux-v1", controlnet=controlnet, torch_dtype=dtype,
|
25 |
).to(device)
|
26 |
|
|
|
20 |
torch_dtype=torch.bfloat16
|
21 |
)
|
22 |
|
23 |
+
pipe = FluxControlNetPipeline.from_pretrained(
|
24 |
"aifeifei798/DarkIdol-flux-v1", controlnet=controlnet, torch_dtype=dtype,
|
25 |
).to(device)
|
26 |
|