KarthikAI commited on
Commit
43c3c22
·
verified ·
1 Parent(s): f782ae9

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -27,7 +27,7 @@ pipe = StableDiffusionImg2ImgPipeline.from_pretrained(
27
  ).to(DEVICE)
28
 
29
  pipe.load_ip_adapter(
30
- pretrained_model_name_or_path=ADAPTER_DIR,
31
  subfolder=".", # The weights file is directly in ADAPTER_DIR
32
  weight_name="ip-adapter_sd15.bin"
33
  # Optionally: subfolder="models" if using the repo, not a direct path
 
27
  ).to(DEVICE)
28
 
29
  pipe.load_ip_adapter(
30
+ pretrained_model_name_or_path_or_dict=ADAPTER_DIR,
31
  subfolder=".", # The weights file is directly in ADAPTER_DIR
32
  weight_name="ip-adapter_sd15.bin"
33
  # Optionally: subfolder="models" if using the repo, not a direct path