naonauno commited on
Commit
fc6d58a
·
verified ·
1 Parent(s): 7f71d44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -42,10 +42,6 @@ pipe.load_lora_weights(
42
  weight_name="40kHalf.safetensors"
43
  )
44
 
45
- # Only enable xformers if available
46
- if hasattr(pipe, "enable_xformers_memory_efficient_attention"):
47
- pipe.enable_xformers_memory_efficient_attention()
48
-
49
  def get_canny_image(image, low_threshold=100, high_threshold=200):
50
  if isinstance(image, Image.Image):
51
  image = np.array(image)
 
42
  weight_name="40kHalf.safetensors"
43
  )
44
 
 
 
 
 
45
  def get_canny_image(image, low_threshold=100, high_threshold=200):
46
  if isinstance(image, Image.Image):
47
  image = np.array(image)