sessex commited on
Commit
0a24e5c
·
1 Parent(s): 0ab4567

order of img input

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def get_masks(prompts, img, threhsold):
44
  return masks
45
 
46
 
47
- def extract_image(pos_prompts, neg_prompts, img, threhsold):
48
  positive_masks = get_masks(pos_prompts, img, 0.5)
49
  negative_masks = get_masks(neg_prompts, img, 0.5)
50
 
 
44
  return masks
45
 
46
 
47
+ def extract_image(img, pos_prompts, neg_prompts, threhsold):
48
  positive_masks = get_masks(pos_prompts, img, 0.5)
49
  negative_masks = get_masks(neg_prompts, img, 0.5)
50