amos1088 commited on
Commit
a0c491d
·
1 Parent(s): fb5d7b3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ pipe = StableDiffusion3ControlNetPipeline.from_pretrained(
57
  torch_dtype=torch.float16,
58
  ).to("cuda")
59
 
60
- pipe.init_ipadapter(
61
  ip_adapter_path=ip_adapter_path,
62
  image_encoder_path=image_encoder_path,
63
  nb_token=64,
 
57
  torch_dtype=torch.float16,
58
  ).to("cuda")
59
 
60
+ pipe.load_ip_adapter(
61
  ip_adapter_path=ip_adapter_path,
62
  image_encoder_path=image_encoder_path,
63
  nb_token=64,