Spaces:
Running
Running
incr duration
Browse files
app.py
CHANGED
@@ -11,6 +11,7 @@ from controlnet_aux import CannyDetector
|
|
11 |
|
12 |
# login hf token
|
13 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
|
|
14 |
# from huggingface_hub import login
|
15 |
#
|
16 |
# login()
|
@@ -31,7 +32,7 @@ pipe.enable_model_cpu_offload()
|
|
31 |
canny = CannyDetector()
|
32 |
|
33 |
|
34 |
-
@spaces.GPU(duration=
|
35 |
def inpaint(
|
36 |
image,
|
37 |
mask,
|
|
|
11 |
|
12 |
# login hf token
|
13 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
14 |
+
# print(HF_TOKEN)
|
15 |
# from huggingface_hub import login
|
16 |
#
|
17 |
# login()
|
|
|
32 |
canny = CannyDetector()
|
33 |
|
34 |
|
35 |
+
@spaces.GPU(duration=160)
|
36 |
def inpaint(
|
37 |
image,
|
38 |
mask,
|