Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,8 @@ css = """
|
|
31 |
}
|
32 |
"""
|
33 |
DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
|
|
|
|
|
34 |
checkpoint_path = "GonzaloMG/marigold-e2e-ft-depth"
|
35 |
unet = UNet2DConditionModel.from_pretrained(checkpoint_path, subfolder="unet")
|
36 |
vae = AutoencoderKL.from_pretrained(checkpoint_path, subfolder="vae")
|
|
|
31 |
}
|
32 |
"""
|
33 |
DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
|
34 |
+
dtype = torch.float32
|
35 |
+
variant = None
|
36 |
checkpoint_path = "GonzaloMG/marigold-e2e-ft-depth"
|
37 |
unet = UNet2DConditionModel.from_pretrained(checkpoint_path, subfolder="unet")
|
38 |
vae = AutoencoderKL.from_pretrained(checkpoint_path, subfolder="vae")
|