Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|