alfredplpl commited on
Commit
c539588
·
verified ·
1 Parent(s): d414c69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -13,6 +13,11 @@ weight_dtype = torch.float32
13
  weight_dtype_te = torch.bfloat16
14
  MAX_SEED = np.iinfo(np.int32).max
15
 
 
 
 
 
 
16
  vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=weight_dtype)
17
  scheduler=DPMSolverMultistepScheduler()
18
  pipe = PixArtSigmaPipeline(
 
13
  weight_dtype_te = torch.bfloat16
14
  MAX_SEED = np.iinfo(np.int32).max
15
 
16
+ transformer = Transformer2DModel.from_pretrained(
17
+ "alfredplpl/commonart-tmp-3",
18
+ torch_dtype=weight_dtype
19
+ )
20
+
21
  vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=weight_dtype)
22
  scheduler=DPMSolverMultistepScheduler()
23
  pipe = PixArtSigmaPipeline(