fffiloni commited on
Commit
3d7ab9b
1 Parent(s): a051380

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,10 +12,10 @@ from imagic import ImagicStableDiffusionPipeline
12
  has_cuda = torch.cuda.is_available()
13
  device = "cuda"
14
 
15
- pipe = DiffusionPipeline.from_pretrained(
16
  "CompVis/stable-diffusion-v1-4",
17
  safety_checker=None,
18
- custom_pipeline=ImagicStableDiffusionPipeline,
19
  scheduler = DDIMScheduler(beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", clip_sample=False, set_alpha_to_one=False)
20
  ).to(device)
21
 
 
12
  has_cuda = torch.cuda.is_available()
13
  device = "cuda"
14
 
15
+ pipe = ImagicStableDiffusionPipeline.from_pretrained(
16
  "CompVis/stable-diffusion-v1-4",
17
  safety_checker=None,
18
+ #custom_pipeline=ImagicStableDiffusionPipeline,
19
  scheduler = DDIMScheduler(beta_start=0.00085, beta_end=0.012, beta_schedule="scaled_linear", clip_sample=False, set_alpha_to_one=False)
20
  ).to(device)
21