Skip to content

Commit

Permalink
Merge pull request #63 from Jize-W/add-bench-tools
Browse files Browse the repository at this point in the history
register CelebrityRecognition tool
  • Loading branch information
Jize-W authored Feb 19, 2024
2 parents 0f84746 + d565726 commit 70988df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions agentlego/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from .image_scribble import ImageToScribble, ScribbleTextToImage
from .image_text import ImageDescription, TextToImage, ImageRegionDescription
from .imagebind import AudioImageToImage, AudioTextToImage, AudioToImage, ThermalToImage
from .object_detection import ObjectDetection, TextToBbox, CountGivenObject
from .object_detection import ObjectDetection, TextToBbox, CountGivenObject, CelebrityRecognition
from .ocr import OCR, MathOCR
from .search import GoogleSearch
from .segmentation import SegmentAnything, SegmentObject, SemanticSegmentation
Expand All @@ -25,5 +25,5 @@
'SegmentObject', 'SegmentAnything', 'SemanticSegmentation', 'ImageStylization',
'AudioToImage', 'ThermalToImage', 'AudioImageToImage', 'AudioTextToImage',
'SpeechToText', 'TextToSpeech', 'Translation', 'GoogleSearch', 'Calculator',
'BaseTool', 'make_tool', 'AddText', 'DrawBox', 'ImageRegionDescription', 'CountGivenObject', 'ReplaceBackgroundOrForeground', 'MathOCR', 'PythonInterpreter', 'Plot', 'Solver'
'BaseTool', 'make_tool', 'AddText', 'DrawBox', 'ImageRegionDescription', 'CountGivenObject', 'ReplaceBackgroundOrForeground', 'MathOCR', 'PythonInterpreter', 'Plot', 'Solver', 'CelebrityRecognition'
]
2 changes: 1 addition & 1 deletion agentlego/tools/object_detection/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from .text_to_bbox import TextToBbox
from .count_given_object import CountGivenObject

__all__ = ['ObjectDetection', 'TextToBbox', 'CountGivenObject']
__all__ = ['ObjectDetection', 'TextToBbox', 'CountGivenObject', 'CelebrityRecognition']

0 comments on commit 70988df

Please sign in to comment.