vilarin commited on
Commit
84e81da
1 Parent(s): 8bbbe69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ vae = AutoencoderKL.from_pretrained(
37
  )
38
 
39
  # Ensure model and scheduler are initialized in GPU-enabled function
40
- pipe = StableDiffusionXLPipeline.from_pretrained(model, vae=vae, torch_dtype="auto").to(device)
41
 
42
  pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
43
 
 
37
  )
38
 
39
  # Ensure model and scheduler are initialized in GPU-enabled function
40
+ pipe = StableDiffusionXLPipeline.from_pretrained(model, vae=vae).to(device)
41
 
42
  pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
43