Manjushri commited on
Commit
ec9b59c
1 Parent(s): 0e01e81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import imageio
6
  from diffusers import StableDiffusionXLAdapterPipeline, T2IAdapter
7
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
- model_id = "stabilityai/stable-diffusion-xl-base-1.0"
10
  adapter = T2IAdapter.from_pretrained(
11
  "TencentARC/t2i-adapter-sketch-sdxl-1.0")
12
  #scheduler = EulerAncestralDiscreteScheduler.from_pretrained(model_id, subfolder="scheduler")
 
6
  from diffusers import StableDiffusionXLAdapterPipeline, T2IAdapter
7
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
+ model_id = "stabilityai/stable-diffusion-xl-refiner-1.0"
10
  adapter = T2IAdapter.from_pretrained(
11
  "TencentARC/t2i-adapter-sketch-sdxl-1.0")
12
  #scheduler = EulerAncestralDiscreteScheduler.from_pretrained(model_id, subfolder="scheduler")