Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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")
|