t-montes commited on
Commit
cdf02e9
·
verified ·
1 Parent(s): 5029aa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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
  ):