linoyts HF staff commited on
Commit
9cf8208
1 Parent(s): b486cec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ import torch
4
  from clip_slider_pipeline import CLIPSliderXL
5
  from diffusers import StableDiffusionXLPipeline, EulerDiscreteScheduler, AutoencoderKL
6
  import time
 
7
 
8
  #vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
9
  flash_pipe = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash").to("cuda", torch.float16)
 
4
  from clip_slider_pipeline import CLIPSliderXL
5
  from diffusers import StableDiffusionXLPipeline, EulerDiscreteScheduler, AutoencoderKL
6
  import time
7
+ import numpy as np
8
 
9
  #vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
10
  flash_pipe = StableDiffusionXLPipeline.from_pretrained("sd-community/sdxl-flash").to("cuda", torch.float16)