Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,8 @@ from utils import (
|
|
12 |
|
13 |
cross_attn_init()
|
14 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
15 |
-
"stabilityai/stable-diffusion-xl-base-1.0",
|
|
|
16 |
torch_dtype=torch.float16,
|
17 |
)
|
18 |
pipe.unet = register_cross_attention_hook(pipe.unet)
|
|
|
12 |
|
13 |
cross_attn_init()
|
14 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
15 |
+
# "stabilityai/stable-diffusion-xl-base-1.0",
|
16 |
+
"stabilityai/sdxl-turbo",
|
17 |
torch_dtype=torch.float16,
|
18 |
)
|
19 |
pipe.unet = register_cross_attention_hook(pipe.unet)
|