GonzaloMG commited on
Commit
029bde2
1 Parent(s): 7fbe3ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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")