Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def sample(zs, wts, prompt_tar="", skip=36, cfg_scale_tar=15, eta = 1):
|
|
54 |
return img
|
55 |
|
56 |
# load pipelines
|
57 |
-
sd_model_id = "
|
58 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
59 |
sd_pipe = StableDiffusionPipeline.from_pretrained(sd_model_id).to(device)
|
60 |
sd_pipe.scheduler = DDIMScheduler.from_config(sd_model_id, subfolder = "scheduler")
|
|
|
54 |
return img
|
55 |
|
56 |
# load pipelines
|
57 |
+
sd_model_id = "CompVis/stable-diffusion-v1-4"
|
58 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
59 |
sd_pipe = StableDiffusionPipeline.from_pretrained(sd_model_id).to(device)
|
60 |
sd_pipe.scheduler = DDIMScheduler.from_config(sd_model_id, subfolder = "scheduler")
|