Spaces:
Running
Running
faster
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def get_system_memory():
|
|
47 |
}
|
48 |
|
49 |
|
50 |
-
@spaces.GPU(duration=
|
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,
|