JoPmt commited on
Commit
6c7e17a
1 Parent(s): b01821f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ pipe.fuse_lora(fuse_unet=True,fuse_text_encoder=False)
12
  ##pipe = accelerator.prepare(pipe.unet.load_attn_procs("./", weight_name="SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors"))
13
  ##pipe.scheduler = accelerator.prepare(EulerDiscreteScheduler.from_config(pipe.scheduler.config))
14
  ##pipe.unet.to(memory_format=torch.channels_last)
15
- pipe=accelerator.prepare(pipe.to("cpu"))
16
  apol=[]
17
  def plex(prompt,neg_prompt,stips,nut):
18
  apol=[]
 
12
  ##pipe = accelerator.prepare(pipe.unet.load_attn_procs("./", weight_name="SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors"))
13
  ##pipe.scheduler = accelerator.prepare(EulerDiscreteScheduler.from_config(pipe.scheduler.config))
14
  ##pipe.unet.to(memory_format=torch.channels_last)
15
+ accelerator.prepare(pipe.to("cpu"))
16
  apol=[]
17
  def plex(prompt,neg_prompt,stips,nut):
18
  apol=[]