Yaron Koresh commited on
Commit
f5d0e22
·
verified ·
1 Parent(s): e47b6e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -231,7 +231,7 @@ pipe.scheduler = DDIMScheduler(
231
  timestep_spacing="trailing",
232
  steps_offset=1
233
  )
234
- #pipe.unet.load_state_dict(load_file(hf_hub_download(repo, ckpt), device=device), strict=False)
235
  pipe.load_ip_adapter("h94/IP-Adapter", subfolder="models", weight_name="ip-adapter_sd15.bin")
236
  pipe.enable_vae_slicing()
237
  pipe.enable_free_init(method="butterworth", use_fast_sampling=fast)
 
231
  timestep_spacing="trailing",
232
  steps_offset=1
233
  )
234
+ pipe.unet.load_state_dict(load_file(hf_hub_download(repo, ckpt), device=device), strict=False)
235
  pipe.load_ip_adapter("h94/IP-Adapter", subfolder="models", weight_name="ip-adapter_sd15.bin")
236
  pipe.enable_vae_slicing()
237
  pipe.enable_free_init(method="butterworth", use_fast_sampling=fast)