alexeyGod commited on
Commit
5cd7881
·
verified ·
1 Parent(s): ef6bbce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -61,6 +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
  pipe = pipe.to(device)
65
  pipe.enable_vae_tiling()
66
 
 
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