Spaces:
Runtime error
Runtime error
controlnet too
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ conditioning_image_transforms = T.Compose(
|
|
23 |
]
|
24 |
)
|
25 |
|
26 |
-
cnet = ControlNetModel.from_pretrained("./models/catcon-controlnet-wd", torch_dtype=torch.float16, from_flax=True)
|
27 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
28 |
"./models/wd-1-5-b2",
|
29 |
controlnet=cnet,
|
|
|
23 |
]
|
24 |
)
|
25 |
|
26 |
+
cnet = ControlNetModel.from_pretrained("./models/catcon-controlnet-wd", torch_dtype=torch.float16, from_flax=True).to("cuda")
|
27 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
28 |
"./models/wd-1-5-b2",
|
29 |
controlnet=cnet,
|