GonzaloMG commited on
Commit
f88edf5
1 Parent(s): a7b7439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -36,6 +36,7 @@ css = """
36
  }
37
  """
38
  DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
 
39
  vae = AutoencoderKL.from_pretrained(checkpoint_path, subfolder='vae')
40
  scheduler = DDIMScheduler.from_pretrained(checkpoint_path, timestep_spacing="trailing", subfolder='scheduler')
41
  image_encoder = CLIPVisionModelWithProjection.from_pretrained(checkpoint_path, subfolder="image_encoder")
 
36
  }
37
  """
38
  DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
39
+ checkpoint_path = "GonzaloMG/geowizard-e2e-ft"
40
  vae = AutoencoderKL.from_pretrained(checkpoint_path, subfolder='vae')
41
  scheduler = DDIMScheduler.from_pretrained(checkpoint_path, timestep_spacing="trailing", subfolder='scheduler')
42
  image_encoder = CLIPVisionModelWithProjection.from_pretrained(checkpoint_path, subfolder="image_encoder")