alexeyGod commited on
Commit
00885b5
·
verified ·
1 Parent(s): 572262c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ pipe = StableDiffusionPipeline.from_pretrained(
61
  model_repo_id, torch_dtype=torch_dtype, use_safetensors=True)
62
  #pipe.vae = AutoencoderTiny.from_pretrained(
63
  # "sayakpaul/taesd-diffusers", torch_dtype=torch_dtype, use_safetensors=True)
64
- pipeline.scheduler = EulerDiscreteScheduler.from_config(pipeline.scheduler.config)
65
  pipe = pipe.to(device)
66
  pipe.enable_vae_tiling()
67
 
 
61
  model_repo_id, torch_dtype=torch_dtype, use_safetensors=True)
62
  #pipe.vae = AutoencoderTiny.from_pretrained(
63
  # "sayakpaul/taesd-diffusers", torch_dtype=torch_dtype, use_safetensors=True)
64
+ pipeline.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipeline.scheduler.config)
65
  pipe = pipe.to(device)
66
  pipe.enable_vae_tiling()
67