Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -231,7 +231,7 @@ pipe.scheduler = DDIMScheduler(
|
|
231 |
timestep_spacing="trailing",
|
232 |
steps_offset=1
|
233 |
)
|
234 |
-
|
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)
|