Culda commited on
Commit
6c841a2
·
1 Parent(s): b45d49a
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,7 +47,7 @@ def get_system_memory():
47
  }
48
 
49
 
50
- @spaces.GPU(duration=160)
51
  def inpaint(
52
  image,
53
  mask,
@@ -57,7 +57,7 @@ def inpaint(
57
  guidance_scale,
58
  controlnet_conditioning_scale,
59
  ):
60
- canny_image = canny(image)
61
 
62
  image_res = pipe(
63
  prompt,
 
47
  }
48
 
49
 
50
+ @spaces.GPU(duration=30)
51
  def inpaint(
52
  image,
53
  mask,
 
57
  guidance_scale,
58
  controlnet_conditioning_scale,
59
  ):
60
+ # canny_image = canny(image)
61
 
62
  image_res = pipe(
63
  prompt,