mokady commited on
Commit
3ac37f9
·
verified ·
1 Parent(s): 2d4a6b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -92,6 +92,7 @@ def get_canny_filter(image):
92
  canny_image = Image.fromarray(image)
93
  return canny_image
94
 
 
95
  def process(input_image, prompt, negative_prompt, num_steps, controlnet_conditioning_scale, seed):
96
  generator = torch.manual_seed(seed)
97
 
 
92
  canny_image = Image.fromarray(image)
93
  return canny_image
94
 
95
+ @spaces.GPU
96
  def process(input_image, prompt, negative_prompt, num_steps, controlnet_conditioning_scale, seed):
97
  generator = torch.manual_seed(seed)
98