Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Update app.py
Browse files
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(
|