Spaces:
Running
on
Zero
Running
on
Zero
guangkaixu
commited on
Commit
·
b8af358
1
Parent(s):
bf2146f
Update app.py
Browse files
app.py
CHANGED
@@ -381,6 +381,9 @@ def main():
|
|
381 |
|
382 |
vae = AutoencoderKL.from_pretrained("guangkaixu/GenPercept", subfolder='vae').to(dtype)
|
383 |
unet_depth_v1 = UNet2DConditionModel.from_pretrained('guangkaixu/GenPercept', subfolder="unet_depth_v1").to(dtype)
|
|
|
|
|
|
|
384 |
empty_text_embed = torch.from_numpy(np.load("./empty_text_embed.npy")).to(device, dtype)[None] # [1, 77, 1024]
|
385 |
|
386 |
pipe_depth = GenPerceptPipeline(vae=vae,
|
|
|
381 |
|
382 |
vae = AutoencoderKL.from_pretrained("guangkaixu/GenPercept", subfolder='vae').to(dtype)
|
383 |
unet_depth_v1 = UNet2DConditionModel.from_pretrained('guangkaixu/GenPercept', subfolder="unet_depth_v1").to(dtype)
|
384 |
+
unet_normal_v1 = UNet2DConditionModel.from_pretrained('guangkaixu/GenPercept', subfolder="unet_normal_v1").to(dtype)
|
385 |
+
unet_dis_v1 = UNet2DConditionModel.from_pretrained('guangkaixu/GenPercept', subfolder="unet_dis_v1").to(dtype)
|
386 |
+
|
387 |
empty_text_embed = torch.from_numpy(np.load("./empty_text_embed.npy")).to(device, dtype)[None] # [1, 77, 1024]
|
388 |
|
389 |
pipe_depth = GenPerceptPipeline(vae=vae,
|