Skip to content

Commit

Permalink
fixed extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Aug 21, 2024
1 parent c8a36fc commit 8a36308
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 @@ -283,7 +283,7 @@ def florence2_sam2_image(prompt: str, image: np.ndarray) -> List[Dict[str, Any]]

files = [("image", buffer_bytes)]
payload = {
"prompts": prompt.split(","),
"prompts": [s.strip() for s in prompt.split(",")],
"function_name": "florence2_sam2_image",
}
data: Dict[str, Any] = send_inference_request(
Expand Down

0 comments on commit 8a36308

Please sign in to comment.