spdraptor commited on
Commit
02af9e3
1 Parent(s): ba7e2cd
__pycache__/utils_inpaint.cpython-310.pyc CHANGED
Binary files a/__pycache__/utils_inpaint.cpython-310.pyc and b/__pycache__/utils_inpaint.cpython-310.pyc differ
 
controlnetSD.py CHANGED
@@ -8,7 +8,7 @@ import numpy as np
8
 
9
  device = torch.device('cuda')
10
 
11
- @spaces.GPU(duration=20)
12
  def mask_based_updating2(init_image_file,mask_image_file,prompt,strength=0.9, guidance_scale=9, num_inference_steps=100):
13
  # load ControlNet
14
  start_time = time.time()
 
8
 
9
  device = torch.device('cuda')
10
 
11
+ @spaces.GPU(duration=50)
12
  def mask_based_updating2(init_image_file,mask_image_file,prompt,strength=0.9, guidance_scale=9, num_inference_steps=100):
13
  # load ControlNet
14
  start_time = time.time()