Skip to content

Commit

Permalink
fixed issue with space (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird authored Aug 21, 2024
1 parent c9aaa68 commit 62d4e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision_agent/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def owl_v2(
image_size = image.shape[:2]
image_b64 = convert_to_b64(image)
request_data = {
"prompts": prompt.split(","),
"prompts": [s.strip() for s in prompt.split(",")],
"image": image_b64,
"confidence": box_threshold,
"function_name": "owl_v2",
Expand Down

0 comments on commit 62d4e8e

Please sign in to comment.