Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanwen-tian committed Sep 24, 2024
1 parent 31c36fd commit a85a38b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vision_agent/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,12 @@ def florence2_phrase_grounding(
fine_tuning=FineTuning(job_id=UUID(fine_tune_id)),
)
data = data_obj.model_dump(by_alias=True)
detections = send_inference_request(data, "tools", v2=False, metadata_payload={"function_name": "florence2_phrase_grounding"})
detections = send_inference_request(
data,
"tools",
v2=False,
metadata_payload={"function_name": "florence2_phrase_grounding"},
)
else:
data = {
"image": image_b64,
Expand Down

0 comments on commit a85a38b

Please sign in to comment.