Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -158,7 +158,6 @@ def detect_and_draw(
|
|
| 158 |
results = processor.post_process_grounded_object_detection(
|
| 159 |
outputs,
|
| 160 |
inputs.input_ids,
|
| 161 |
-
box_threshold=box_threshold,
|
| 162 |
text_threshold=text_threshold,
|
| 163 |
target_sizes=[img.size[::-1]]
|
| 164 |
)[0]
|
|
|
|
| 158 |
results = processor.post_process_grounded_object_detection(
|
| 159 |
outputs,
|
| 160 |
inputs.input_ids,
|
|
|
|
| 161 |
text_threshold=text_threshold,
|
| 162 |
target_sizes=[img.size[::-1]]
|
| 163 |
)[0]
|