patrickvonplaten commited on
Commit
cf61e65
1 Parent(s): 0711b9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -83,7 +83,6 @@ def img_to_img(
83
 
84
  if torch.cuda.is_available():
85
  pipe = pipe.to("cuda")
86
- pipe.enable_xformers_memory_efficient_attention()
87
 
88
  ratio = min(height / img.height, width / img.width)
89
  img = img.resize((int(img.width * ratio), int(img.height * ratio)), Image.LANCZOS)
 
83
 
84
  if torch.cuda.is_available():
85
  pipe = pipe.to("cuda")
 
86
 
87
  ratio = min(height / img.height, width / img.width)
88
  img = img.resize((int(img.width * ratio), int(img.height * ratio)), Image.LANCZOS)