Skip to content

Commit 8a6908c

Browse files
fix(example): align parameter names with the latest function definition for gdino (#40369)
1 parent 7db228a commit 8a6908c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/en/model_doc/grounding-dino.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Here's how to use the model for zero-shot object detection:
7070
>>> results = processor.post_process_grounded_object_detection(
7171
... outputs,
7272
... inputs.input_ids,
73-
... box_threshold=0.4,
73+
... threshold=0.4,
7474
... text_threshold=0.3,
7575
... target_sizes=[image.size[::-1]]
7676
... )

0 commit comments

Comments
 (0)