Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ clip_slider = CLIPSliderXL(pipe, device=torch.device("cuda"))
|
|
13 |
|
14 |
pipe_adapter = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash").to("cuda", torch.float16)
|
15 |
pipe_adapter.scheduler = EulerDiscreteScheduler.from_config(pipe_adapter.scheduler.config)
|
16 |
-
pipe_adapter.load_ip_adapter("h94/IP-Adapter", subfolder="sdxl_models", weight_name="ip-adapter_sdxl.bin")
|
17 |
# scale = 0.8
|
18 |
# pipe_adapter.set_ip_adapter_scale(scale)
|
19 |
|
|
|
13 |
|
14 |
pipe_adapter = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash").to("cuda", torch.float16)
|
15 |
pipe_adapter.scheduler = EulerDiscreteScheduler.from_config(pipe_adapter.scheduler.config)
|
16 |
+
#pipe_adapter.load_ip_adapter("h94/IP-Adapter", subfolder="sdxl_models", weight_name="ip-adapter_sdxl.bin")
|
17 |
# scale = 0.8
|
18 |
# pipe_adapter.set_ip_adapter_scale(scale)
|
19 |
|