linoyts HF staff commited on
Commit
d805dde
1 Parent(s): e4e5057

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -11,10 +11,6 @@ pipe = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash").to("
11
  pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config)
12
  clip_slider = CLIPSliderXL(pipe, device=torch.device("cuda"))
13
 
14
- pipe = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash").to("cuda", torch.float16)
15
- pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config)
16
- clip_slider = CLIPSliderXL(pipe, device=torch.device("cuda"))
17
-
18
  pipe_adapter = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash").to("cuda", torch.float16)
19
  pipe_adapter.scheduler = EulerDiscreteScheduler.from_config(pipe_adapter.scheduler.config)
20
  pipe_adapter.load_ip_adapter("h94/IP-Adapter", subfolder="sdxl_models", weight_name="ip-adapter_sdxl.bin")
 
11
  pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config)
12
  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")