AlphaQuark commited on
Commit
5a236e1
·
verified ·
1 Parent(s): fc6c768

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ pipeline = AutoPipelineForImage2Image.from_pretrained(
7
  )
8
  pipeline.enable_model_cpu_offload()
9
  # remove following line if xFormers is not installed or you have PyTorch 2.0 or higher installed
10
- pipeline.enable_xformers_memory_efficient_attention()
11
 
12
  # prepare image
13
  url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/img2img-init.png"
 
7
  )
8
  pipeline.enable_model_cpu_offload()
9
  # remove following line if xFormers is not installed or you have PyTorch 2.0 or higher installed
10
+ # pipeline.enable_xformers_memory_efficient_attention()
11
 
12
  # prepare image
13
  url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/img2img-init.png"