Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,7 +102,7 @@ def generate_(prompt, negative_prompt, canny_image, num_steps, controlnet_condit
|
|
| 102 |
).images
|
| 103 |
return images
|
| 104 |
|
| 105 |
-
|
| 106 |
def process(input_image, prompt, negative_prompt, num_steps, controlnet_conditioning_scale, seed):
|
| 107 |
|
| 108 |
# resize input_image to 1024x1024
|
|
|
|
| 102 |
).images
|
| 103 |
return images
|
| 104 |
|
| 105 |
+
@spaces.GPU
|
| 106 |
def process(input_image, prompt, negative_prompt, num_steps, controlnet_conditioning_scale, seed):
|
| 107 |
|
| 108 |
# resize input_image to 1024x1024
|