BleachNick commited on
Commit
3188b31
1 Parent(s): 6067c25

upload requirements.txt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ pipe = StableDiffusion3InstructPix2PixPipeline.from_pretrained("BleachNick/SD3_U
12
  pipe = pipe.to("cuda")
13
 
14
 
15
- @spaces.GPU(duration=60)
16
  def generate(image_mask, prompt, num_inference_steps=50, image_guidance_scale=1.6, guidance_scale=7.5, seed=255):
17
  def is_blank_mask(mask_img):
18
  mask_array = np.array(mask_img.convert('L')) # Convert to luminance to simplify the check
 
12
  pipe = pipe.to("cuda")
13
 
14
 
15
+ @spaces.GPU(duration=120)
16
  def generate(image_mask, prompt, num_inference_steps=50, image_guidance_scale=1.6, guidance_scale=7.5, seed=255):
17
  def is_blank_mask(mask_img):
18
  mask_array = np.array(mask_img.convert('L')) # Convert to luminance to simplify the check