Skip to content

Commit

Permalink
fixed bad test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Mar 13, 2024
1 parent 8ccada3 commit e50dacd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ def test_generate_detector(openai_llm_mock): # noqa: F811
def test_generate_segmentor(openai_llm_mock): # noqa: F811
llm = OpenAILLM()
prompt = "Can you generate a cat segmentor?"
segmentor = llm.generate_detector(prompt)
assert isinstance(segmentor, GroundingDINO)
segmentor = llm.generate_segmentor(prompt)
assert isinstance(segmentor, GroundingSAM)
assert segmentor.prompt == "cat"

0 comments on commit e50dacd

Please sign in to comment.