Spaces:
vilarin
/
Running on Zero

vilarin commited on
Commit
a478bcb
·
verified ·
1 Parent(s): 59c3dd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -41,8 +41,6 @@ vae = AutoencoderKL.from_pretrained(
41
  if torch.cuda.is_available():
42
  pipe = StableDiffusionXLPipeline.from_pretrained(model, vae=vae, torch_dtype=torch.float16).to("cuda")
43
 
44
- pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
45
-
46
 
47
  # Function
48
  @spaces.GPU()
 
41
  if torch.cuda.is_available():
42
  pipe = StableDiffusionXLPipeline.from_pretrained(model, vae=vae, torch_dtype=torch.float16).to("cuda")
43
 
 
 
44
 
45
  # Function
46
  @spaces.GPU()