fffiloni commited on
Commit
7a0b039
·
verified ·
1 Parent(s): ce6c1db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1565,7 +1565,7 @@ class AccDiffusionSDXLPipeline(DiffusionPipeline, FromSingleFileMixin, LoraLoade
1565
  print("### Phase {} Decoding ###".format(current_scale_num))
1566
  if current_height > 2048 or current_width > 2048:
1567
  # image = self.tiled_decode(latents, current_height, current_width)
1568
- self.enable_vae_tiling()
1569
  image = self.vae.decode(latents / self.vae.config.scaling_factor, return_dict=False)[0]
1570
  else:
1571
  image = self.vae.decode(latents / self.vae.config.scaling_factor, return_dict=False)[0]
 
1565
  print("### Phase {} Decoding ###".format(current_scale_num))
1566
  if current_height > 2048 or current_width > 2048:
1567
  # image = self.tiled_decode(latents, current_height, current_width)
1568
+ # self.enable_vae_tiling()
1569
  image = self.vae.decode(latents / self.vae.config.scaling_factor, return_dict=False)[0]
1570
  else:
1571
  image = self.vae.decode(latents / self.vae.config.scaling_factor, return_dict=False)[0]