Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ pipe.scheduler = DDIMScheduler(
|
|
130 |
timestep_spacing="trailing",
|
131 |
steps_offset=1
|
132 |
)
|
133 |
-
pipe.unet.load_state_dict(load_file(hf_hub_download(repo, ckpt), device=device), strict=False)
|
134 |
pipe.load_ip_adapter("h94/IP-Adapter", subfolder="models", weight_name="ip-adapter_sd15.bin")
|
135 |
pipe.enable_vae_slicing()
|
136 |
pipe.enable_free_init(method="butterworth", use_fast_sampling=fast)
|
|
|
130 |
timestep_spacing="trailing",
|
131 |
steps_offset=1
|
132 |
)
|
133 |
+
#pipe.unet.load_state_dict(load_file(hf_hub_download(repo, ckpt), device=device), strict=False)
|
134 |
pipe.load_ip_adapter("h94/IP-Adapter", subfolder="models", weight_name="ip-adapter_sd15.bin")
|
135 |
pipe.enable_vae_slicing()
|
136 |
pipe.enable_free_init(method="butterworth", use_fast_sampling=fast)
|