Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -71,6 +71,7 @@ def process_input(input_image, upscale_factor):
|
|
71 |
h = h - h % 8
|
72 |
return input_image.resize((w, h)), w_original, h_original, was_resized
|
73 |
|
|
|
74 |
def infer(
|
75 |
seed, randomize_seed, input_image_path, num_inference_steps, upscale_factor, controlnet_conditioning_scale
|
76 |
):
|
|
|
71 |
h = h - h % 8
|
72 |
return input_image.resize((w, h)), w_original, h_original, was_resized
|
73 |
|
74 |
+
@spaces.GPU
|
75 |
def infer(
|
76 |
seed, randomize_seed, input_image_path, num_inference_steps, upscale_factor, controlnet_conditioning_scale
|
77 |
):
|