developer0hye commited on
Commit
41d1ec3
·
verified ·
1 Parent(s): e70d81e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def run_grounding(input_image, grounding_caption, box_threshold, text_threshold)
43
  results = processor.post_process_grounded_object_detection(
44
  outputs,
45
  inputs.input_ids,
46
- box_threshold=box_threshold,
47
  text_threshold=text_threshold,
48
  target_sizes=[init_image.size[::-1]]
49
  )
 
43
  results = processor.post_process_grounded_object_detection(
44
  outputs,
45
  inputs.input_ids,
46
+ threshold=box_threshold,
47
  text_threshold=text_threshold,
48
  target_sizes=[init_image.size[::-1]]
49
  )