Skip to content

Commit

Permalink
fix the pydantic 'protected_namespaces' warning
Browse files Browse the repository at this point in the history
  • Loading branch information
panregedit committed Jul 25, 2024
1 parent daabfeb commit 3d25208
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engine/tools/ovd_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ class ObjectDetection(BaseModelTool):
"Tasks like object counting, specific object detection, etc. must use this tool.")
ovd_endpoint: str
model_id: str = 'OmDet-Turbo_tiny_SWIN_T'

class Config:
"""Configuration for this pydantic object."""
protected_namespaces = ()

def _run(
self, timestamps: str, labels: str
Expand Down

0 comments on commit 3d25208

Please sign in to comment.