wooyeolbaek commited on
Commit
138ee92
1 Parent(s): 2934e69
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import torch
2
  import gradio as gr
3
- from diffusers import StableDiffusion3Pipeline
4
  from utils import (
5
  attn_maps,
6
  cross_attn_init,
@@ -13,9 +13,9 @@ from utils import (
13
 
14
  cross_attn_init()
15
 
16
- pipe = StableDiffusion3Pipeline.from_pretrained(
17
- "stabilityai/stable-diffusion-3-medium-diffusers",
18
- torch_dtype=torch.bfloat16
19
  )
20
 
21
  pipe = init_pipeline(pipe)
 
1
  import torch
2
  import gradio as gr
3
+ from diffusers import DiffusionPipeline
4
  from utils import (
5
  attn_maps,
6
  cross_attn_init,
 
13
 
14
  cross_attn_init()
15
 
16
+ pipe = DiffusionPipeline.from_pretrained(
17
+ "stabilityai/stable-diffusion-xl-base-1.0",
18
+ torch_dtype=torch.float16,
19
  )
20
 
21
  pipe = init_pipeline(pipe)